Epsstore's Posts
Nairaland Forum › Epsstore's Profile › Epsstore's Posts
1 2 3 4 5 6 7 8 9 10 11 (of 11 pages)
bosman50:How do I point the app to the directory is the issue... Should I extract the content of nodejs.org folder to where? I still have a node_modules folder which contains two files jquery n bootstrap |
My screen shot when I type npm issues
|
makavele:How come I have a nodejs.org folder and a node_modules folder on my home page |
When i type npm restart i get these error ...i have not created a directory also, how do i proceed i use ubuntu Lts 16.04 and my home directory contains a file called nodejs.org and node_modules 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'restart' ] 2 info using npm@3.5.2 3 info using node@v4.2.6 4 verbose config Skipping project config: /home/Myname/.npmrc. (matches userconfig) 5 verbose stack Error: ENOENT: no such file or directory, open '/home/Myname/package.json' 5 verbose stack at Error (native) 6 verbose cwd /home/Myname 7 error Linux 4.15.0-45-generic 8 error argv "/usr/bin/nodejs" "/usr/bin/npm" "restart" 9 error node v4.2.6 10 error npm v3.5.2 11 error path /home/Myname/package.json 12 error code ENOENT 13 error errno -2 14 error syscall open 15 error enoent ENOENT: no such file or directory, open '/home/Myname/package.json' 16 error enoent ENOENT: no such file or directory, open '/home/Myname/package.json' 16 error enoent This is most likely not a problem with npm itself 16 error enoent and is related to npm not being able to find a file. 17 verbose exit [ -2, true ] |
?