git clone https://github.com/chenmr925/react-multiple-pages.git
cd react-multiple-pages
cnpm install
npm start
- npm 和 yarn在国内有些资源安装特别慢或者安装失败,所以可以先删掉package.json中的node-sass项,然后npm install 或者 yarn install, 单后单独安装node-sass
- 直接切换淘宝镜像:npm install -g cnpm --registry=https://registry.npm.taobao.org。然后cnpm install即可。
- 使用淘宝cnpm安装:npm install -g cnpm --registry=https://registry.npm.taobao.org
- 其他的参考:https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md