Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Cannot install node-sass 4.9.0 using latest node (v10.4.0) #2414

Closed
chrism opened this issue Jun 12, 2018 · 1 comment
Closed

Cannot install node-sass 4.9.0 using latest node (v10.4.0) #2414

chrism opened this issue Jun 12, 2018 · 1 comment

Comments

@chrism
Copy link

chrism commented Jun 12, 2018

  • NPM version (npm -v): 6.1.0
  • Node version (node -v): v10.4.0
  • Node Process (node -p process.versions):
{ http_parser: '2.8.0',
  node: '10.4.0',
  v8: '6.7.288.43-node.7',
  uv: '1.20.3',
  zlib: '1.2.11',
  ares: '1.14.0',
  modules: '64',
  nghttp2: '1.29.0',
  napi: '3',
  openssl: '1.1.0h',
  icu: '61.1',
  unicode: '10.0',
  cldr: '33.0',
  tz: '2018c' }
  • Node Platform (node -p process.platform): darwin
  • Node architecture (node -p process.arch): x64
  • node-sass version (node -p "require('node-sass').info"):
internal/modules/cjs/loader.js:596
    throw err;
  • npm node-sass versions (npm ls node-sass):
[email protected] /Users/username/git/app-name
└── (empty)

After updating to node to v10.4.0 from 9 (using the latest OSX High Sierra) I got this error message

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)

So I decided to update node-sass to the latest version too in my project.

I first deleted completely the node_modules folder and running yarn cache clean then tried to install the latest version using yarn (v1.7.0)

yarn add [email protected] --dev

Unfortunately I get a long output beginning like this

warning Error running install script for optional dependency: "/Users/username/git/app-name/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments: 
Directory: /Users/username/git/app-name/node_modules/fsevents
Output:
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp http Connection closed while downloading tarball file 
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR

I wasn't able to find any relevant issues already so thought I should raise it as an issue.

Any advice to resolve this much appreciated as without updating I'm unable to use node v10.x.

Many thanks

@xzyfer
Copy link
Contributor

xzyfer commented Jun 12, 2018

node-sass installed fine. The issue you're having is with fsevents..please open an issue there.

@xzyfer xzyfer closed this as completed Jun 12, 2018
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants