weex init 项目 填坑

1. index.web.js from UglifyJs Unexpected token: name (urlParts) [index.web.js:331,4]

weex init 项目 填坑_第1张图片
weex init 项目 填坑

解决方案:

Update your weex-toolkit

npm i weex-toolkit@latest -g

Update weexpack

weex update weexpack@latest
npm update npm -g
cd project_name
rm -rf node_modules
npm i 
npm run serve

OK

weex init 项目 填坑_第2张图片
OK

参考1 参考2

你可能感兴趣的:(weex init 项目 填坑)