使用npm安装node-sass时报错
node-sass
:rainbow: Node.js bindings to libsass
项目地址:https://gitcode.com/gh_mirrors/no/node-sass
免费下载资源
·
ERROR in ENOENT: no such file or directory, scandir 'C:\Users\Administrator\Desk top\vueScoket\node_modules\node-sass\vendor'
@ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=d ata-v-0422a2aa!./~/sass-loader!./~/vue-loader/lib/selector.js?type=styles&index= 0!./src/App.vue 4:14-240 13:2-17:4 14:20-246
ERROR in ENOENT: no such file or directory, scandir 'C:\Users\Administrator\Desk top\vueScoket\node_modules\node-sass\vendor'
@ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=d ata-v-2fa277ae&scoped=true!./~/sass-loader!./~/vue-loader/lib/selector.js?type=s tyles&index=0!./src/components/HChat.vue 4:14-266 13:2-17:4 14:20-272
ERROR in ENOENT: no such file or directory, scandir 'C:\Users\Administrator\Desk top\vueScoket\node_modules\node-sass\vendor'
@ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=d ata-v-1858b336&scoped=true!./~/sass-loader!./~/vue-loader/lib/selector.js?type=s tyles&index=0!./src/components/Message/MsgList.vue 4:14-280 13:2-17:4 14:20-286
ERROR in ENOENT: no such file or directory, scandir 'C:\Users\Administrator\Desk top\vueScoket\node_modules\node-sass\vendor'
@ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=d ata-v-51c9d7fa&scoped=true!./~/sass-loader!./~/vue-loader/lib/selector.js?type=s tyles&index=0!./src/components/Message/MsgWriter.vue 4:14-282 13:2-17:4 14:20-28 8
解决办法:
重新构建一下node-sass
即可:
npm rebuild node-sass
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 个月前
更多推荐
已为社区贡献1条内容
所有评论(0)