Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.11 missing Alpine for Node 9 #2564

Closed
MakerTim opened this issue Dec 9, 2018 · 11 comments
Closed

Release 4.11 missing Alpine for Node 9 #2564

MakerTim opened this issue Dec 9, 2018 · 11 comments

Comments

@MakerTim
Copy link

MakerTim commented Dec 9, 2018

my CI tried to install 4.11

node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/linux_musl-x64-59_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.11.0/linux_musl-x64-59_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. 

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080

and got a error, that stated that a variant is missing
on windows & ubuntu dev. environment all is fine; but CI build crashes

Got support dropped? or something else?

for now i will force use 4.10, but would love to be on latest again

@xzyfer
Copy link
Contributor

xzyfer commented Dec 9, 2018 via email

@BurkovBA
Copy link

I'm getting an error on Node 10:

Cannot download "https://github.com/sass/node-sass/releases/download/v4.11.0/linux_musl-x64-59_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. 

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080
> node-sass@4.11.0 postinstall /srv/node_modules/node-sass
> node scripts/build.js

Building: /usr/local/bin/node /srv/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/local/bin/node',
gyp verb cli   '/srv/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.8.0
gyp info using node@9.11.2 | 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 `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/srv/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/srv/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/srv/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /srv/node_modules/which/which.js:89:16
gyp verb `which` failed     at /srv/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /srv/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:170:21)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/srv/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/srv/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/srv/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /srv/node_modules/which/which.js:89:16
gyp verb `which` failed     at /srv/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /srv/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:170:21)
gyp verb `which` failed   stack: 'Error: not found: python2\n    at getNotFoundError (/srv/node_modules/which/which.js:13:12)\n    at F (/srv/node_modules/which/which.js:68:19)\n    at E (/srv/node_modules/which/which.js:80:29)\n    at /srv/node_modules/which/which.js:89:16\n    at /srv/node_modules/isexe/index.js:42:5\n    at /srv/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:170:21)',
gyp verb `which` failed   code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (/srv/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/srv/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/srv/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /srv/node_modules/which/which.js:89:16
gyp verb `which` failed     at /srv/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /srv/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:170:21)
gyp verb `which` failed  python { Error: not found: python
gyp verb `which` failed     at getNotFoundError (/srv/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/srv/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/srv/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /srv/node_modules/which/which.js:89:16
gyp verb `which` failed     at /srv/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /srv/node_modules/isexe/mode.js:8:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:170:21)
gyp verb `which` failed   stack: 'Error: not found: python\n    at getNotFoundError (/srv/node_modules/which/which.js:13:12)\n    at F (/srv/node_modules/which/which.js:68:19)\n    at E (/srv/node_modules/which/which.js:80:29)\n    at /srv/node_modules/which/which.js:89:16\n    at /srv/node_modules/isexe/index.js:42:5\n    at /srv/node_modules/isexe/mode.js:8:5\n    at FSReqWrap.oncomplete (fs.js:170:21)',
gyp verb `which` failed   code: 'ENOENT' }
gyp ERR! configure error 
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (/srv/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (/srv/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack     at F (/srv/node_modules/which/which.js:68:16)
gyp ERR! stack     at E (/srv/node_modules/which/which.js:80:29)
gyp ERR! stack     at /srv/node_modules/which/which.js:89:16
gyp ERR! stack     at /srv/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /srv/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:170:21)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/local/bin/node" "/srv/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /srv/node_modules/node-sass
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.11.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@4.11.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-12-16T12_51_12_351Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1

@xzyfer
Copy link
Contributor

xzyfer commented Dec 16, 2018

That is node 9

@BurkovBA
Copy link

@xzyfer

That is node 9

Damn, you're right, thanks!

@thakurinbox

This comment has been minimized.

@xzyfer

This comment has been minimized.

@nschonni nschonni changed the title Release 4.11 missing variant Release 4.11 missing Apline for Node 9 Dec 20, 2018
@nschonni nschonni pinned this issue Dec 20, 2018
@nschonni nschonni changed the title Release 4.11 missing Apline for Node 9 Release 4.11 missing Alpine for Node 9 Dec 20, 2018
@irufus
Copy link

irufus commented Jan 3, 2019

I'll try to get vuejs Readme for the dockerize app updated if node 10 works without an issue.

Nevertheless, 9.11.1 is referenced in the documentation page: https://github.com/vuejs/vuejs.org/blob/master/src/v2/cookbook/dockerize-vuejs-app.md

@ISkomorokh

This comment has been minimized.

@toby5box
Copy link

toby5box commented Feb 18, 2019

I hit this on our CI as well (AWS CodeBuild).

The build script seems to want https://github.com/sass/node-sass/releases/download/v4.11.0/linux_musl-x64-59_binding.node
but this is not among the published release files https://github.com/sass/node-sass/releases/
(note 59 vs 57).

Moving to Node 10 (in an AWS CodeBuild container) had no effect on this issue.

@caroso1222
Copy link

I confirm that switching from FROM 9-alpine to FROM node:lts-alpine in my Dockerfile did the trick. Thanks.

@saper
Copy link
Member

saper commented Oct 17, 2019

Closing this, as we explicitly support less node versions with Alpine.

@saper saper closed this as completed Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants