Static GitHub Issues

[1129] Nuxt won't install, postinstall errors for opencollective

prev: config `module.exports = { performance: { prefetch: false } }` not working
next: Babel Loader Error during nuxt generate

➜ nuxt-test npm install --save nuxt

nuxt@1.0.0-alpha.5 postinstall /home/patrick/Programming/nuxt-test/node_modules/nuxt opencollective postinstall

sh: 1: opencollective: not found Hi folks, trying to install Nuxt from the documentation.

After running npm install --save nuxt in my project I get the following -

18809 verbose lifecycle nuxt@1.0.0-alpha.5~postinstall: unsafe-perm in lifecycle true
18810 verbose lifecycle nuxt@1.0.0-alpha.5~postinstall: PATH: /home/patrick/.nvm/versions/node/v8.2.1/lib/node_modules/npm/bin/node-gyp-bin:/home/patrick/Programming/nuxt-test/node_modules/nuxt/node_modules/.bin:/home/patrick/Programming/nuxt-test/node_modules/.bin:/home/patrick/.nvm/versions/node/v8.2.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
18811 verbose lifecycle nuxt@1.0.0-alpha.5~postinstall: CWD: /home/patrick/Programming/nuxt-test/node_modules/nuxt
18812 silly lifecycle nuxt@1.0.0-alpha.5~postinstall: Args: [ '-c', 'opencollective postinstall' ]
18813 info lifecycle nuxt@1.0.0-alpha.5~postinstall: Failed to exec postinstall script
18814 verbose unlock done using /home/patrick/.npm/_locks/staging-cc286ed05dfa9616.lock for /home/patrick/Programming/nuxt-test/node_modules/.staging

npm WARN my-app@ No description
npm WARN my-app@ No repository field.
npm WARN my-app@ No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! nuxt@1.0.0-alpha.5 postinstall: `opencollective postinstall`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the nuxt@1.0.0-alpha.5 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Here is a gist of the debug log from NPM - https://gist.github.com/patrickbolle/fdc59190506b3797b4806d2b0b8eed23

Any ideas here?

Thanks.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c993">#c993</a>)</em></sub></div>