-
Notifications
You must be signed in to change notification settings - Fork 106

Description
nodejs v8.9.1
npm install websocket error
`root@gh-virtual-machine:/opt/xsschef# npm install websocket
websocket@1.0.25 install /opt/xsschef/node_modules/websocket
(node-gyp rebuild 2> builderror.log) || (exit 0)
sh: 1: cannot create builderror.log: Permission denied
npm WARN saveError ENOENT: no such file or directory, open '/opt/xsschef/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/xsschef/package.json'
npm WARN xsschef No description
npm WARN xsschef No repository field.
npm WARN xsschef No README data
npm WARN xsschef No license field.
-
websocket@1.0.25
npm install node-static error
gh@gh-virtual-machine:~/xsschef$ sudo npm install node-static
npm WARN saveError ENOENT: no such file or directory, open '/home/gh/xsschef/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/gh/xsschef/package.json'
npm WARN xsschef No description
npm WARN xsschef No repository field.
npm WARN xsschef No README data
npm WARN xsschef No license field. -
node-static@0.7.10
updated 1 package in 1.087s
`
How to correctly configure the installation or what specific plug-in versions are required