This repository was archived by the owner on Dec 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 187
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
npm ERR! Failed at the caniuse-api@1.2.2 postinstall script #79
Copy link
Copy link
Closed
Description
Tentative installation (Ubuntu 14.04.2 LTS, node -v v0.10.36, npm -v 1.4.28) - error message dump :
npm install cssnext
|
> caniuse-api@1.2.2 postinstall /srv/i.paulmichalet.lan-0-25.io/sites/all/themes/ipaul/css/node_modules/cssnext/node_modules/caniuse-api
> node -e "require('shelljs/global');if(test('-d', 'dist'))exec('node dist/generate-features.js')"
module.js:340
throw err;
^
Error: Cannot find module 'shelljs/global'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at [eval]:1:1
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:456:26)
at evalScript (node.js:559:25)
at startup (node.js:80:7)
at node.js:929:3
npm ERR! caniuse-api@1.2.2 postinstall: `node -e "require('shelljs/global');if(test('-d', 'dist'))exec('node dist/generate-features.js')"`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the caniuse-api@1.2.2 postinstall script.
npm ERR! This is most likely a problem with the caniuse-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node -e "require('shelljs/global');if(test('-d', 'dist'))exec('node dist/generate-features.js')"
npm ERR! You can get their info via:
npm ERR! npm owner ls caniuse-api
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-46-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "cssnext"
npm ERR! cwd /srv/i.paulmichalet.lan-0-25.io/sites/all/themes/ipaul/css
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
Metadata
Metadata
Assignees
Labels
No labels