Hello,
I'm trying to execute the "npm install" command as suggested on the github readme, but it fails:
$ npm install
grblweb@ /home/username/grblweb
+-- as...@0.9.0 extraneous
+-- bind...@1.2.1 extraneous
+-- core-u...@1.0.2 extraneous
+-- inhe...@2.0.1 extraneous
+-- n...@1.3.0 extraneous
+-- node-...@0.7.7
| +-- col...@1.1.2
| +-- mi...@1.3.4
| `-- opti...@0.6.1
| +-- mini...@0.0.10
| `-- word...@0.0.3
+-- s...@0.1.7 extraneous
+-- sock...@1.0.6
| +-- de...@0.7.4
| +-- engi...@1.3.1
| | +-- base...@0.1.0
| | +-- de...@0.6.0
| | +-- engine.i...@1.0.6
| | | +-- af...@0.8.1
| | | +-- arraybuf...@0.0.6
| | | +-- base64-ar...@0.1.2
| | | +-- bl...@0.0.2
| | | `-- ut...@2.0.0
| | `-- w...@0.4.31
| | +-- comm...@0.6.1
| | +-- n...@0.3.2
| | +-- opt...@0.0.6
| | `-- tiny...@0.0.1
| +-- has-bin...@0.1.1
| | `-- isa...@0.0.1
| +-- socket.i...@0.2.0
| | `-- socket.i...@2.1.2
| +-- socket.i...@1.0.6
| | +-- compone...@1.0.0
| | +-- componen...@1.1.2
| | +-- engine.i...@1.3.1
| | | +-- componen...@0.0.3
| | | +-- has-...@1.0.3
| | | | `-- glo...@2.0.1
| | | +-- pars...@0.0.1
| | | +-- par...@0.0.2
| | | `-- xmlhttp...@1.5.0
| | +-- ind...@0.0.1
| | +-- object-c...@0.0.3
| | +-- pars...@0.0.2
| | | `-- better...@1.0.2
| | | `-- call...@1.0.0
| | `-- to-a...@0.1.3
| `-- socket.i...@2.2.0
| +-- emi...@1.0.1
| `-- js...@3.2.6
`-- string_...@0.10.31 extraneous
npm WARN EPACKAGEJSON grblweb@ No repository field.
npm WARN EPACKAGEJSON grblweb@ No license field.
npm WARN EBUNDLEOVERRIDE Replacing bundled serialport > node-pre-gyp with new installed version
npm ERR! Linux 4.1.17-1-ARCH
npm ERR! argv "/home/username/.nvm/versions/node/v5.5.0/bin/node" "/home/username/.nvm/versions/node/v5.5.0/bin/npm" "install"
npm ERR! node v5.5.0
npm ERR! npm v3.3.12
npm ERR! path /home/username/grblweb/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/username/grblweb/node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js'
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/username/grblweb/npm-debug.log
And I am no nodejs developer, so could someone tell me whats wrong here? I see the serial port package has some problems, but why? Can I fix this somehow?
I've first thought that would be an issue and created an issue on github:
But andrewhodel told me I need to go here, because my problem hasn't gone away, yet. I've installed nodejs by using nvm. He/she also said that node js 5.5.0 is very old, but I couldn't find a newer version, yet. Could you point me towards a newer version? I've installed nodejs by typing "nvm install stable" which should be the newest stable release, shouldn't it?
Kind regards,
Bradan