js-newbee / taro-yanxuan

首个 Taro 多端统一实例 - 网易严选(小程序 + H5 + React Native) - By 趣店 FED
MIT License
2.65k stars 562 forks source link

正确安装步骤 #89

Open geektcp opened 1 year ago

geektcp commented 1 year ago

1、安装python2

[wget](https://www.python.org/ftp/python/2.7.17/python-2.7.17.amd64.msi)

2、安装windows-build-tools

npm config set msvs_version 2017
npm install --global windows-build-tools@4.0.0

3、安装项目

git clone git@github.com:js-newbee/taro-yanxuan.git
cd taro-yanxuan
npm install

4、启动项目

npm run dev:weapp
geektcp commented 1 year ago

否则报错:

1、MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe
2、node 报错 npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe” 解决方法