Using Mathoid extension

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using Mathoid extension

wimalopaan
Since mathematical isn't usable I tried to install mathoid.

When I install it using

npm install mathoid

I get the following error:

npm WARN enoent ENOENT: no such file or directory, open '/home/lmeier/package.json'

and running gives:

npm ERR! Linux 4.8.17-1-ck-ivybridge
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "mathoid"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! path /home/lmeier/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/home/lmeier/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/lmeier/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/lmeier/npm-debug.log
 
Any hints?
Reply | Threaded
Open this post in threaded view
|

Re: Using Mathoid extension

rodwatkins
I had to use npm init to create a package.json file. Then npm install worked for me.
Rod