[GH-ISSUE #267] NPM install #196

Closed
opened 2026-02-26 02:32:24 +03:00 by kerem · 1 comment
Owner

Originally created by @GitMiester on GitHub (Mar 16, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/267

I am trying to download the newest release v2.2.0 on a ubuntu 14.04 machine.

gitmiester@music:~/koel$ npm install

npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
Killed

And then if I run again:

gitmiester@music:~/koel$ npm install

> koel@ postinstall /home/gitmiester/koel
> cross-env NODE_ENV=production && gulp --production

sh: 1: cross-env: not found

npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! koel@ postinstall: `cross-env NODE_ENV=production && gulp --production`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the koel@ postinstall script 'cross-env NODE_ENV=production && gulp --production'.
npm ERR! This is most likely a problem with the koel package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=production && gulp --production
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs koel
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls koel
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/gitmiester/koel/npm-debug.log
npm --version
2.14.20
gulp --version
CLI version 1.2.1
Local version 3.9.1

Sorry to open issue about npm but npm install is working fine on a few other projects on this server with same user but I am having specifically issues with Koel only. Any idea why? I have went through all the npm issues in this repo but nothing helped me. Thank you and Koel is amazing.

Originally created by @GitMiester on GitHub (Mar 16, 2016). Original GitHub issue: https://github.com/koel/koel/issues/267 I am trying to download the newest release v2.2.0 on a ubuntu 14.04 machine. ``` gitmiester@music:~/koel$ npm install npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible. Killed ``` And then if I run again: ``` gitmiester@music:~/koel$ npm install > koel@ postinstall /home/gitmiester/koel > cross-env NODE_ENV=production && gulp --production sh: 1: cross-env: not found npm ERR! Linux 3.13.0-79-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.4.0 npm ERR! npm v2.14.20 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! koel@ postinstall: `cross-env NODE_ENV=production && gulp --production` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the koel@ postinstall script 'cross-env NODE_ENV=production && gulp --production'. npm ERR! This is most likely a problem with the koel package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cross-env NODE_ENV=production && gulp --production npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs koel npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls koel npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/gitmiester/koel/npm-debug.log ``` ``` npm --version 2.14.20 ``` ``` gulp --version CLI version 1.2.1 Local version 3.9.1 ``` Sorry to open issue about npm but npm install is working fine on a few other projects on this server with same user but I am having specifically issues with Koel only. Any idea why? I have went through all the npm issues in this repo but nothing helped me. Thank you and Koel is amazing.
kerem closed this issue 2026-02-26 02:32:24 +03:00
Author
Owner

@GitMiester commented on GitHub (Mar 16, 2016):

sudo npm install npm -g

<!-- gh-comment-id:197215698 --> @GitMiester commented on GitHub (Mar 16, 2016): sudo npm install npm -g
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#196
No description provided.