[GH-ISSUE #164] Errors while installing #114

Closed
opened 2026-02-26 02:32:10 +03:00 by kerem · 3 comments
Owner

Originally created by @uszasty on GitHub (Dec 30, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/164

So, I'm trying to install koel on my machine, and this is what I got:

fontawesome#4.5.0 bower_components/fontawesome
module.js:340
    throw err;
    ^

Error: Cannot find module 'convert-source-map'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/home/tepiloxtl/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/index.js:4:24)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)

npm ERR! Linux 4.2.0-19-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! koel@0.1.0 postinstall: `node node_modules/bower/bin/bower install && gulp --production`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the koel@0.1.0 postinstall script 'node node_modules/bower/bin/bower install && 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!     node node_modules/bower/bin/bower install && gulp --production
npm ERR! You can get their info via:
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/tepiloxtl/koel/npm-debug.log
tepiloxtl@tepiloxtl-VirtualBox:~/koel$ 

npm-debug.txt

Originally created by @uszasty on GitHub (Dec 30, 2015). Original GitHub issue: https://github.com/koel/koel/issues/164 So, I'm trying to install koel on my machine, and this is what I got: ``` fontawesome#4.5.0 bower_components/fontawesome module.js:340 throw err; ^ Error: Cannot find module 'convert-source-map' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:289:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object.<anonymous> (/home/tepiloxtl/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/index.js:4:24) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:313:12) at Module.require (module.js:366:17) npm ERR! Linux 4.2.0-19-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.2.4 npm ERR! npm v2.14.12 npm ERR! code ELIFECYCLE npm ERR! koel@0.1.0 postinstall: `node node_modules/bower/bin/bower install && gulp --production` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the koel@0.1.0 postinstall script 'node node_modules/bower/bin/bower install && 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! node node_modules/bower/bin/bower install && gulp --production npm ERR! You can get their info via: 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/tepiloxtl/koel/npm-debug.log tepiloxtl@tepiloxtl-VirtualBox:~/koel$ ``` [npm-debug.txt](https://github.com/phanan/koel/files/74742/npm-debug.txt)
kerem closed this issue 2026-02-26 02:32:10 +03:00
Author
Owner

@uszasty commented on GitHub (Dec 30, 2015):

Now, as I'm trying to redo whole installation process, it crashes after npm info postuninstall laravel-elixir@4.1.2
npm-debug.txt

<!-- gh-comment-id:167976739 --> @uszasty commented on GitHub (Dec 30, 2015): Now, as I'm trying to redo whole installation process, it crashes after npm info postuninstall laravel-elixir@4.1.2 [npm-debug.txt](https://github.com/phanan/koel/files/74781/npm-debug.txt)
Author
Owner

@juliusvdijk commented on GitHub (Dec 30, 2015):

Are you running the latest node version?

Can you try removing all node_modules
rm -rf node_modules

After you've done that update nodejs with these commands

npm cache clean -f
npm install -g n
n stable
<!-- gh-comment-id:167981862 --> @juliusvdijk commented on GitHub (Dec 30, 2015): Are you running the latest node version? Can you try removing all node_modules `rm -rf node_modules` After you've done that update nodejs with these commands ``` npm cache clean -f npm install -g n n stable ```
Author
Owner

@uszasty commented on GitHub (Dec 30, 2015):

Now it's working. It was hanging at "npm verb unlock done using /one/of/modules/...", but I found a workaround and it seems to complete normally now, thanks :)

<!-- gh-comment-id:167989726 --> @uszasty commented on GitHub (Dec 30, 2015): Now it's working. It was hanging at "npm verb unlock done using /one/of/modules/...", but I found a workaround and it seems to complete normally now, thanks :)
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#114
No description provided.