We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本机环境:Window 7
其实因为antd-mobile依赖了node-sass和node-gyp包,安装 node-sass 的正确姿势,正确安装后一般都没什么问题。
node-sass
node-gyp
但是在本机还遇到一下问题,将解决方法记录下来:
1、缺少Python
解决方案:安装Python后执行如下命令(替换为自己电脑的路径):
npm config set python C:\Programs\Python27\python.exe
2、
解决方案:下载.Net Framework后安装后重启电脑生效。(仅安装这个没用) 解决方案:参照npm install socket.io 提示缺少“VCBuild.exe”,一定要装VS C++吗?
看答案里有一个比较简单的方法是: nodejs/node-gyp#307 (comment)
npm install --global --production windows-build-tools
3、
看到报错觉得可能是node_modules的问题,然后就;
node_modules
rm -rf node_modules
成功啦!不容易~
MAC大法好!
The text was updated successfully, but these errors were encountered:
安装node-sass 4.x版本就好了
Sorry, something went wrong.
@xinconan 春哥6
No branches or pull requests
其实因为antd-mobile依赖了
node-sass
和node-gyp
包,安装 node-sass 的正确姿势,正确安装后一般都没什么问题。但是在本机还遇到一下问题,将解决方法记录下来:
1、缺少Python
解决方案:安装Python后执行如下命令(替换为自己电脑的路径):
2、
解决方案:下载.Net Framework后安装后重启电脑生效。(仅安装这个没用)解决方案:参照npm install socket.io 提示缺少“VCBuild.exe”,一定要装VS C++吗?
看答案里有一个比较简单的方法是:
nodejs/node-gyp#307 (comment)
3、
看到报错觉得可能是
node_modules
的问题,然后就;成功啦!不容易~
MAC大法好!
The text was updated successfully, but these errors were encountered: