dropfox icon indicating copy to clipboard operation
dropfox copied to clipboard

npm install fails on Linux

Open popey opened this issue 9 years ago • 4 comments
trafficstars

Running Ubuntu 16.04 with npm 3.5.2 & node 4.2.6..

npm install results in:-

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm ERR! Linux 4.4.0-17-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn

npm ERR! [email protected] postinstall: node install.js npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email protected] postinstall script 'node install.js'. 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 electron-prebuilt package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron-prebuilt npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron-prebuilt npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/alan/Development/dropfox/upstream/dropfox/npm-debug.log

popey avatar Apr 09 '16 00:04 popey

http://paste.ubuntu.com/15701431/ is the /home/alan/Development/dropfox/upstream/dropfox/npm-debug.log it suggests I provide.

popey avatar Apr 09 '16 00:04 popey

Hiya @popey,

I'm not sure the dependencies used here work quite properly under npm 3. Can you try using NPM 2?

npm i npm@2
alias npm=./node_modules/.bin/npm
npm install

developit avatar Apr 09 '16 00:04 developit

I just updated all of the dependencies (they were last updated in December!), including Babel, which was relying on a version of the Chokidar filesystem module that seemed to be causing the issue you ran into. It should also work properly with npm@3 now :)

developit avatar Apr 09 '16 00:04 developit

Ok, tried and it's still a little unhappy.

http://paste.ubuntu.com/15710145/

popey avatar Apr 09 '16 12:04 popey