配置:macOS High Sierra,版本10.13.2,节点:v8.1.2 npm:5.0.3当我在我的angularjs项目中运行npm start时出现此错误:
ERROR in Cannot find module 'node-sass'
Run Code Online (Sandbox Code Playgroud)
在此之后我运行:
npm i node-sass
Run Code Online (Sandbox Code Playgroud)
现在我收到这个错误:
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
Run Code Online (Sandbox Code Playgroud)
为什么npm不会安装node-sass?我该如何安装node-sass?