编程语言
首页 > 编程语言> > Syntax Error: Error: Cannot find module 'node-sass'

Syntax Error: Error: Cannot find module 'node-sass'

作者:互联网

Syntax Error: Error: Cannot find module 'node-sass' Require stack: - G:\ceshi\ceshi\node_modules\sass-loader\dist\index.js - G:\ceshi\ceshi\node_modules\sass-loader\dist\cjs.js - G:\ceshi\ceshi\node_modules\loader-runner\lib\loadLoader.js - G:\ceshi\ceshi

 

解决方法:

npm install --save-dev node-sass --registry=https://registry.npm.taobao.org --disturl=https://npm.taobao.org/dist --sass-binary-site=http://npm.taobao.org/mirrors/node-sass

标签:node,npm,sass,--,ceshi,Error
来源: https://www.cnblogs.com/javascript9527/p/14984921.html