error C:\javatest\ant-design-jeecg-vue\node_modules\node-sass: Command failed.
node_modules\node-sass: Command failed.错误解决
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
免费下载资源
·
- 查了两天,最后解决方案:
- 删掉:下面目录中划红线的配置文件:删掉项目中的node_modules,重新配置npm和yarn,然后执行命令就好了
-
-
用admin权限执行:
-
npm config set registry https: //registry.npm.taobao.org --global
-
npm config set disturl https: //npm.taobao.org/dist --global
-
-
yarn config set registry https: //registry.npm.taobao.org --global
-
yarn config set disturl https: //npm.taobao.org/dist --global
-
-
-
按照这个方法安装(先安装node.js,再安装yarn):
-
-
https:/ /yarnpkg.com/zh-Hans/docs/install #windows-stable
-
https:/ /www.jianshu.com/p /03a76b2e7e00
-
-
最后执行: yarn install
<p> </p> </li>
- 其他解决方案1:
-
npm
install node-sass@
4.12
.0
-
-
链接地址: https://stackoverflow.com/questions/
45801457/node-js-python-
not-
found-
exception-due-
to-node-sass-
and-node-gyp
- 其他解决方案2(对我没用)链接地址:
- https://learnku.com/laravel/t/7619/resolved-laravel-mix-still-try-installing-heavy-please-help-look-laoniao-thank-you
- https://learnku.com/articles/5083/on-the-record-of-installing-the-node-sass-error
GitHub 加速计划 / no / node-sass
8.5 K
1.33 K
下载
:rainbow: Node.js bindings to libsass
最近提交(Master分支:2 个月前 )
6081731a
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 9 个月前
62c0f46c
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com> 9 个月前
更多推荐
已为社区贡献3条内容
所有评论(0)