mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #643] npm intall throwing error #458
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#458
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sethigoldy-zz on GitHub (Aug 26, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/643
Hi
I am installing koel application on AWS servers. I am getting this following error while running
npm installPlease help me out
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated express@2.5.11: express 2.x series is deprecated
npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/.bin/node-sass as it wasn't installed by /var/www/html/koel/node_modules/node-sass
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/laravel-mix/node_modules/.bin/node-sass as it wasn't installed by /var/www/html/koel/node_modules/laravel-mix/node_modules/node-sass
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/.bin/window-size as it wasn't installed by /var/www/html/koel/node_modules/window-size
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/request/node_modules/.bin/uuid as it wasn't installed by /var/www/html/koel/node_modules/request/node_modules/uuid
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/.bin/uuid as it wasn't installed by /var/www/html/koel/node_modules/node-uuid
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/espree/node_modules/.bin/acorn as it wasn't installed by /var/www/html/koel/node_modules/espree/node_modules/acorn
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/acorn-globals/node_modules/.bin/acorn as it wasn't installed by /var/www/html/koel/node_modules/acorn-globals/node_modules/acorn
npm WARN gentlyRm not removing /var/www/html/koel/node_modules/acorn-dynamic-import/node_modules/.bin/acorn as it wasn't installed by /var/www/html/koel/node_modules/acorn-dynamic-import/node_modules/acorn
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/linux-x64-57_binding.node
Download complete .] - :
Binary saved to /var/www/html/koel/node_modules/laravel-mix/node_modules/node-sass/vendor/linux-x64-57/binding.node
Caching binary to /home/ubuntu/.npm/node-sass/4.5.3/linux-x64-57_binding.node
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-57_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
or configure npm proxy via
Binary found at /var/www/html/koel/node_modules/laravel-mix/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary is fine
Building: /usr/bin/nodejs /var/www/html/koel/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/nodejs',
gyp verb cli '/var/www/html/koel/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.6.2
gyp info using node@8.4.0 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb
whichsucceeded python2 /usr/bin/python2gyp verb check python version
/usr/bin/python2 -c "import platform; print(platform.python_version());"returned: "2.7.12\n"gyp verb get node dir no --target version specified, falling back to host node version: 8.4.0
gyp verb command install [ '8.4.0' ]
gyp verb install input version string "8.4.0"
gyp verb install installing version: 8.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.4.0
gyp verb build dir attempting to create "build" dir: /var/www/html/koel/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /var/www/html/koel/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /var/www/html/koel/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /var/www/html/koel/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /var/www/html/koel/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/var/www/html/koel/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/var/www/html/koel/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/var/www/html/koel/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/ubuntu/.node-gyp/8.4.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/ubuntu/.node-gyp/8.4.0',
gyp info spawn args '-Dnode_gyp_dir=/var/www/html/koel/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/ubuntu/.node-gyp/8.4.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/var/www/html/koel/node_modules/node-sass',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/ubuntu/.node-gyp/8.4.0
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/var/www/html/koel/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/var/www/html/koel/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/var/www/html/koel/node_modules/which/which.js:80:29)
gyp ERR! stack at /var/www/html/koel/node_modules/which/which.js:89:16
gyp ERR! stack at /var/www/html/koel/node_modules/isexe/index.js:42:5
gyp ERR! stack at /var/www/html/koel/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Linux 4.4.0-1022-aws
gyp ERR! command "/usr/bin/nodejs" "/var/www/html/koel/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /var/www/html/koel/node_modules/node-sass
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN sass-loader@5.0.1 requires a peer of node-sass@^4.0.0 but none was installed.
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! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 postinstall:
node scripts/build.jsnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@phanan commented on GitHub (Aug 26, 2017):
@sethigoldy-zz commented on GitHub (Aug 27, 2017):
Hi
I have tried installing node-sass@4.0.0 using the command
npm install -g node-sass@4.0.0It gives me this error ERROR
@phanan commented on GitHub (Aug 27, 2017):
It says you don't have
make. Nevertheless, this doesn't look like a Koel issue. I'm going ahead and close this now. You're welcome to open another if you're sure it's related to Koel.