慕娘2054169
2018-12-19 11:02
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
安装不彻底 脚手架没装好 先把脚手架卸载掉 重新安装下 taro脚手架最近更新较为频繁 确实有这种问题
Taro多端框架开发外卖首页
22905 学习 · 85 问题
相似问题