I am trying to install paperwork, and while following
https://github.com/twostairs/paperwork/wiki/Installing-Paperwork-on-Ubuntu-14.10
I got near the very end when I get this.
:/var/log/nginx# npm install
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/var/log/nginx/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.13.0-43-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /var/log/nginx
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /var/log/nginx/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/log/nginx/npm-debug.log
npm ERR! not ok code 0
I used This for installing the node and npm. How can I update my nodeJS to the latest version?
I have never used any of this, and so I do not know anything about this "node" or anything like it.
Log :
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 error install Couldn't read dependencies
5 error Error: ENOENT, open '/var/log/nginx/package.json'
6 error If you need help, you may report this log at:
6 error <http://github.com/isaacs/npm/issues>
6 error or email it to:
6 error <[email protected]>
7 error System Linux 3.13.0-43-generic
8 error command "/usr/bin/nodejs" "/usr/bin/npm" "install"
9 error cwd /var/log/nginx
10 error node -v v0.10.25
11 error npm -v 1.3.10
12 error path /var/log/nginx/package.json
13 error code ENOENT
14 error errno 34
15 verbose exit [ 34, true ]
Thanks for the help, but still not quite working right..
root@SHARED1:/var/www/paperwork/paperwork/frontend# npm install
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
root@SHARED1:/var/www/paperwork/paperwork/frontend# ls
app bootstrap composer.json deploy docker-runner.sh
install.sh package.json public vendor artisan
components composer.lock Dockerfile gulpfile.js
node_modules phpunit.xml server.php
root@SHARED1:/var/www/paperwork/paperwork/frontend# bower install --allow-root
May bower anonymously report usage statistics to improve the tool over time?
Yes
bower
no-home
HOME environment variable not set. User config will not be loaded.
bower
ENOENT
No bower.json present