Install fails
anrei0000 opened this issue · 1 comments
anrei0000 commented
This command:
homestead:~/Code/power-touch$ npm install --no-bin-links
Fails with this message:
> robotjs@0.4.5 install /home/vagrant/Code/power-touch/node_modules/robotjs
> prebuild --install
sh: 1: prebuild: not found
power-touch@1.0.0 /home/vagrant/Code/power-touch
├─┬ body-parser@1.15.2
│ ├── bytes@2.4.0
│ ├── content-type@1.0.2
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── depd@1.1.0
│ ├─┬ http-errors@1.5.0
│ │ ├── inherits@2.0.1
│ │ ├── setprototypeof@1.0.1
│ │ └── statuses@1.3.0
│ ├── iconv-lite@0.4.13
│ ├─┬ on-finished@2.3.0
│ │ └── ee-first@1.1.1
│ ├── qs@6.2.0
│ ├─┬ raw-body@2.1.7
│ │ └── unpipe@1.0.0
│ └─┬ type-is@1.6.13
│ ├── media-typer@0.3.0
│ └─┬ mime-types@2.1.12
│ └── mime-db@1.24.0
└─┬ express@4.14.0
├─┬ accepts@1.3.3
│ └── negotiator@0.6.1
├── array-flatten@1.1.1
├── content-disposition@0.5.1
├── cookie@0.3.1
├── cookie-signature@1.0.6
├── encodeurl@1.0.1
├── escape-html@1.0.3
├── etag@1.7.0
├── finalhandler@0.5.0
├── fresh@0.3.0
├── merge-descriptors@1.0.1
├── methods@1.1.2
├── parseurl@1.3.1
├── path-to-regexp@0.1.7
├─┬ proxy-addr@1.1.2
│ ├── forwarded@0.1.0
│ └── ipaddr.js@1.1.1
├── range-parser@1.2.0
├─┬ send@0.14.1
│ ├── destroy@1.0.4
│ └── mime@1.3.4
├── serve-static@1.11.1
├── utils-merge@1.0.0
└── vary@1.1.0
npm WARN power-touch@1.0.0 No repository field.
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "--no-bin-links" "install" "--no- bin-links"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! robotjs@0.4.5 install: `prebuild --install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the robotjs@0.4.5 install script 'prebuild --install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the robotjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! prebuild --install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs robotjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls robotjs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/vagrant/Code/power-touch/npm-debug.log```
Any help is appreciated :)
rokyed commented
My setup is node 6.6.0 or node 6.7.0 and i don't use the param --no-bin-links, try that pls.