安装完成,启动页面时报错
chenshiyangdeMacBook-Pro:app chenshiyang$ npm run dev:h5
> app@1.0.0 dev:h5 /Users/chenshiyang/Desktop/project/taro/app
> npm run build:h5 -- --watch
> app@1.0.0 build:h5 /Users/chenshiyang/Desktop/project/taro/app
> taro build --type h5 "--watch"
? Taro v1.2.0
开始编译项目 app
创建 发现文件 src/app.js
创建 发现文件 src/app.less
创建 发现文件 src/index.html
创建 发现文件 src/pages/index/index.js
创建 发现文件 src/pages/index/index.less
缺少npm包@tarojs/webpack-runner,开始安装...
Cannot download "https://r.cnpmjs.org/node-sass//v4.11.0/darwin-x64-57_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli '/Users/chenshiyang/Desktop/project/taro/app/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.8.0
gyp info using node@8.12.0 | darwin | x64