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

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime #2070

Closed
xian107 opened this issue Jan 29, 2019 · 7 comments

Comments

@xian107
Copy link

xian107 commented Jan 29, 2019

npm run dev:h5会报以下错误,
./.temp/app.scss) Module build failed (from ./node_modules/sass-loader/lib/loader.js): Error: Node Sass does not yet support your current environment: Windows 64-bit w ith Unsupported runtime (64) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v4.8.3
image
然后页面显示
image

taro info :
` Taro v1.2.10

Taro CLI 1.2.10 environment info:
System:
OS: Windows 7
Binaries:
Node: 10.14.1 - C:\dev\nodejs\node.EXE
Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.4.1 - C:\dev\nodejs\npm.CMD`

@taro-bot
Copy link

taro-bot bot commented Jan 29, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@Git-leaner
Copy link

我的这个问题cnpm install node-sass可以解决

@luckyadam
Copy link
Member

node-sass 没有装好,建议用国内源安装

@xian107
Copy link
Author

xian107 commented Jan 30, 2019

@luckyadam @Git-leaner 关键是我重装了node-sass之后,会报另一个错

image

@luckyadam
Copy link
Member

升级到最新版本~

@yuche
Copy link
Contributor

yuche commented Apr 8, 2019

close via 0a2f8d8

1 similar comment
@yuche
Copy link
Contributor

yuche commented Apr 8, 2019

close via 0a2f8d8

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

No branches or pull requests

4 participants