Comments (8)
报错信息很明显,你的系统里缺失 python,node-sass 模块需要 node-gyp 编译,而 node-gyp 需要依赖 pythod 环境。
可以看这里:foundation/foundation-sites#7788
下次遇到类似的问题,直接把报错信息在 Google 里搜索一般都有解决方案的。
from angular2-questionnaire.
在angular-seed 中npm install的时候会报错
from angular2-questionnaire.
from angular2-questionnaire.
请检查你的 Visual Studio 版本, 参考: https://github.com/nodejs/node-gyp#installation
from angular2-questionnaire.
简单讲一下这个问题的原因:
项目使用了 sass
-> 依赖了 node-sass
-> 依赖了 labsass(一个基于 c++写的 Sass compiler)
-> 依赖了 node-gyp (node 要使用 c++ 的扩展需要使用 node-gyp 将 c++代码编译成 node addon)
-> 依赖了 python(https://github.com/nodejs/node-gyp/tree/master/gyp) 和 gyp(https://gyp.gsrc.io/ 需翻墙)
gyp 是一个跨平台的项目构建管理工具, 在 windows 平台使用了强大的 Visual Studio
from angular2-questionnaire.
谢谢李老师,
from angular2-questionnaire.
from angular2-questionnaire.
这个信息量太小了,没办法定位问题。你试试把 elifecycle gulp 等关键字在google搜一下
from angular2-questionnaire.
Related Issues (17)
- ng2-bootstrap问题 HOT 2
- 书中416页的问卷服务是否存在跨域问题? HOT 1
- 书中第379页中storage不对 HOT 2
- github上给的源码跟示例代码不一致 HOT 1
- 关于questionnaire-item.component的ngOnChanges HOT 5
- npm start报错 HOT 3
- 这个地方要不要map有什么区别呢?去掉map也能得到数据 HOT 3
- 他的作用是什么<QuestionnaireModel>res.json().data,就是这个<QuestionnaireModel> HOT 1
- 很着急的问题问老师 HOT 2
- 启动报错 HOT 3
- 无法登录注册 HOT 4
- 刷新页面需要重新登录 HOT 1
- carousel not work auto HOT 7
- 问卷调查系统,环境搭建,书375页 环境搭建 时,npm start时报错 HOT 11
- 问卷调查系统进入 后台报错。 HOT 3
- 请教一个关于移动端的问题, HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-questionnaire.