- Ошибка при установка пакета node-sass?
- [Unsupported] Installing node-sass 4.11.0 with Node 12 #2662
- Comments
- EmirCanSANCAR commented May 3, 2019
- pablocarreraest commented May 7, 2019
- EmirCanSANCAR commented May 7, 2019
- pablocarreraest commented May 7, 2019
- omguddu99 commented May 15, 2019
- matthiaslischka commented May 16, 2019 •
- omguddu99 commented May 16, 2019
- green6erry commented May 17, 2019
- nschonni commented May 18, 2019
- j33n commented May 24, 2019
- GaryWenneker commented May 25, 2019
- yairEO commented May 28, 2019
- pssshete commented Jun 21, 2019
- willi-dev commented Jul 3, 2019
- This comment was marked as off-topic.
- Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (88)
- 6 Answers 6
- Can not install node-sass — ERR! Failed at the node-sass@4.5.3 postinstall script ‘node scripts/build.js’. #1980
- Comments
- ceoaliongroo commented May 27, 2017
- Error message from npm install node-sass
- Windows: ‘npm install node-sass’ fails when module ‘install.js’ cannot be found. #603
- Comments
- lostPixels commented Jan 5, 2015
- am11 commented Jan 5, 2015
- lostPixels commented Jan 5, 2015
- lostPixels commented Jan 6, 2015
- am11 commented Jan 6, 2015
- am11 commented Feb 12, 2015
Ошибка при установка пакета node-sass?
Ошибка при установка пакета node-sass?
ошибка в логах
10944 silly install node-sass@4.7.2
10945 info lifecycle node-sass@4.7.2
install: node-sass@4.7.2
10946 verbose lifecycle node-sass@4.7.2
install: unsafe-perm in lifecycle true
10947 verbose lifecycle node-sass@4.7.2
install: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;D:\OSPanel\domains\cpa.com\node_modules\node-sass\node_modules\.bin;D:\OSPanel\domains\cpa.com\node_modules\.bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\vector\AppData\Local\Microsoft\WindowsApps;C:\Users\vector\AppData\Roaming\npm
10948 verbose lifecycle node-sass@4.7.2
install: CWD: D:\OSPanel\domains\cpa.com\node_modules\node-sass
10949 silly lifecycle node-sass@4.7.2
install: Args: [ ‘-c’, ‘node scripts/install.js’ ]
10950 info lifecycle node-sass@4.7.2
install: Failed to exec install script
10951 silly lifecycle node-sass@4.7.2
install: Returned: code: -4058 signal: null
10952 info lifecycle node-sass@4.7.2
[Unsupported] Installing node-sass 4.11.0 with Node 12 #2662
Comments
EmirCanSANCAR commented May 3, 2019
I can not install the node-sass. Is there a problem in the package now?
The text was updated successfully, but these errors were encountered:
pablocarreraest commented May 7, 2019
im in the same problema. don’t know what to do.
I try and try but m! m! is not working
EmirCanSANCAR commented May 7, 2019
I’ve temporarily installed this way.
npm install node-sass@4.12.0
pablocarreraest commented May 7, 2019
thanks @EmirCanSANCAR for the quick response I hace to downgrade my node version to node 10 is other posible solution.
omguddu99 commented May 15, 2019
why this error is coming while installing node-sass any version
matthiaslischka commented May 16, 2019 •
I downgraded node to fix the problem.
I now use NVM to quickly switch between node versions. Very happy with this tool.
omguddu99 commented May 16, 2019
green6erry commented May 17, 2019
I downgraded node to fix the problem.
I now use NVM to quickly switch between node versions. Very happy with this tool.
What did you downgrade to?
nschonni commented May 18, 2019
j33n commented May 24, 2019
I used nvm and downgraded to node v10 , you should be okay if you have compatible versions as mentioned 🔼
GaryWenneker commented May 25, 2019
even if you’re on Node 12, make sure you keep a local package of Node v 11 in your devdependencies:
Then it will work.
yairEO commented May 28, 2019
I also cannot install node-sass v4.12.0 with Node v12.3.1 & NPM 6.9.0
pssshete commented Jun 21, 2019
p ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/lib/node_modules/angular-cli/node_modules/node-sass/.node-gyp’
gyp ERR! System Linux 4.15.0-51-generic
gyp ERR! command «/usr/bin/node» «/usr/lib/node_modules/angular-cli/node_modules/node-gyp/bin/node-gyp.js» «rebuild» «—verbose» «—libsass_ext=» «—libsass_cflags=» «—libsass_ldflags=» «—libsass_library=»
gyp ERR! cwd /usr/lib/node_modules/angular-cli/node_modules/node-sass
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN @angular/core@2.4.10 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/angular-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted <"os":"darwin","arch":"any">(current: <"os":"linux","arch":"x64">)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.12.0 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.12.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! /home/pranavshete/.npm/_logs/2019-06-21T06_09_10_071Z-debug.log
willi-dev commented Jul 3, 2019
just update to node-sass 4.12.0 with node v12.5 and it works for me!
This comment was marked as off-topic.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (88)
I have tried to install gulp-sass latest version with npm i gulp-sass —save-dev in the begining I got a lot of errors but later solved them. But whenever I try to run gulp I got this error:
I have tried to fix the problem with npm rebuild node-sass —force but it rise error too.
6 Answers 6
- install / downgrade node.js to a stable version (LTS) like 14.15.0
- install the compatible node-sass version via npm install node-sass@4.14.0 ; you can find the list here, or even install gulp-sass with npm i gulp-sass —save-dev .
Warning: LibSass and Node Sass are deprecated. While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto Dart Sass.
the node-sass package is deprecated.
Instead install sass instead like this:
This command in the console worked for me:
I ran to the same problem and I found that the best solution is to use gulp-dart-sass . You won’t need to downgrade your Node.js(I’m using it with Node version: v15.3.0 right now)
Simple replace gulp-sass to gulp-dart-sass
None of the above worked for me. So, instead I uninstalled node-sass and installed just sass. No more errors!
I encountered the same issue after updating my Node.js version from 14.15.5(LTS) to 15.8.0.
In order to resolve this issue I downgraded Node.js version back to 14.15.5(LTS).
I used chocolatey to downgrade NPM. If you don’t have chocolatey installed in your system,
you can get Chocolatey from here.
Now to downgrade Node.js we have to do the following steps
Uninstall latest version of the Node.js
For that you have to use this code.
choco uninstall nodejs
To install the desired version of Node.js,
choco install nodejs —version $VersionNumber
in my case,
choco uninstall nodejs
choco install nodejs —version 14.15.5
Can not install node-sass — ERR! Failed at the node-sass@4.5.3 postinstall script ‘node scripts/build.js’. #1980
Comments
ceoaliongroo commented May 27, 2017
I have an error when i run npm install node-sass , i have already the last versions of node and npm (LTS) and previously already installed npm install -g windows-build-tools
Please, i need your help i can not figure out what is the issue?, and how to solved.
This is my platform:
- NPM version ( npm -v ): 3.10.10
- Node version ( node -v ): 6.10.3
- Node Process ( node -p process.versions ):
- Node Platform ( node -p process.platform ): win32
- Node architecture ( node -p process.arch ): x64
- node-sass version ( node -p «require(‘node-sass’).info» ):
- npm node-sass versions ( npm ls node-sass ):
Error message from npm install node-sass
I follow the template, please do not close the issue, i have already three day without solution to this issue
The text was updated successfully, but these errors were encountered:
postinstall: unsafe-perm in lifecycle truenpm verb lifecycle ***@***.***
postinstall: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\carlosm\AppData\Roaming\npm\node_modules\node-sass\node_modules\.bin;C:\Users\carlosm\AppData\Roaming\npm\node_modules\.bin;%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Python27\;C:\Python27\Scripts;C:\apps\oracle\product\11.2.0\client_1\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;$PATH;D:\JAVA\apache-tomcat-8.0.9/bin;C:\Program Files (x86)\VSCode-win32-1.11.2\;C:\Python27;C:\Users\carlosm\AppData\Roaming\npmnpm verb lifecycle ***@***.***
postinstall: CWD: C:\Users\carlosm\AppData\Roaming\npm\node_modules\node-sassnpm info lifecycle ***@***.***
Windows: ‘npm install node-sass’ fails when module ‘install.js’ cannot be found. #603
Comments
lostPixels commented Jan 5, 2015
Getting this error when installed node-sass.
17608 error node-sass@1.2.2 install: node scripts/install.js
17608 error Exit status 8
17609 error Failed at the node-sass@1.2.2 install script.
17609 error This is most likely a problem with the node-sass package,
17609 error not with npm itself.
17609 error Tell the author that this fails on your system:
17609 error node scripts/install.js
17609 error You can get their info via:
17609 error npm owner ls node-sass
17609 error There is likely additional logging output above.
17610 error System Windows_NT 6.1.7601
17611 error command «C:\Program Files\nodejs\node.exe» «C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js» «install» «node-sass»
17612 error cwd C:\www\Site
17613 error node -v v0.10.25
17614 error npm -v 1.3.24
17615 error code ELIFECYCLE
More environment info:
Windows 7 x32
node-p process.arch
ia32
The text was updated successfully, but these errors were encountered:
am11 commented Jan 5, 2015
Please give it another try like this and show the output (by wrapping the log in «`).
lostPixels commented Jan 5, 2015
Hello, I just did this and my results are:
lostPixels commented Jan 6, 2015
I’ve figured out the problem. All the paths to external files are being referenced from c:/ instead of c:/../my-project/node-modules/node-sass
Once I grabbed install.js from a coworker and placed it where my installation was looking before it failed, things started to work. However it’s failing on other dependencies that aren’t pathed correctly.
am11 commented Jan 6, 2015
@lostPixels, it first appeared as the issue with win-x86 binary: vendor/win32-ia32/binding.node , but now it sounds like a different issue.
Can you confirm if it is working on other Windows 7 32bit system?
am11 commented Feb 12, 2015
Closing due to inactivity. Please reopen if you get this error with v2.0.1: