"Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57)"
See original GitHub issueTitle
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57)
Functional impact
Results in solution failing to build.
Minimal repro steps
Following directions from here under the “Set up your machine” and “Get the source code”.
- Installed Visual Studio 2017 (enterprise).
- Install Azure Power Shell (irrelevant for this issue)
- Install NodeJS (8.9.4 LTS rather than 6.11.3 LTS that the article mentioned)
- Install bower and grunt.
- Clone source code from PartsUnlimited
- Build solution
Expected result
Successful build.
Actual result
Build failed with error message - “Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57)”
Further technical details
Running a Windows 10 VM in Azure.
Located this issue which indicated to update the gulp-sass version to 3.1.0. When I did a search of the solution, “gulp-sass” was only in the readme. But I did notice that npm install node-sass
did result in a couple warnings. Namely that it could not find c:\repos\PartsUnlimited\package.json
.
c:\repos\PartsUnlimited>npm install
npm WARN saveError ENOENT: no such file or directory, open 'c:\repos\PartsUnlimited\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'c:\repos\PartsUnlimited\package.json'
npm WARN PartsUnlimited No description
npm WARN PartsUnlimited No repository field.
npm WARN PartsUnlimited No README data
npm WARN PartsUnlimited No license field.
up to date in 1.344s
c:\repos\PartsUnlimited>npm --version
5.6.0
c:\repos\PartsUnlimited>node --version
v8.9.4
I did also go through the git clean -fdx
step as well to no avail.
Issue Analytics
- State:
- Created 6 years ago
- Comments:33 (1 by maintainers)
That worked for me:
With “yarn add node-sass” worked for me