weexteam / A-pack-tool-for-Apache-Weex

A pack tool for Android、iOS and H5 plartform of Weex. This tool is a third party work, and is not developed nor maintained by Apache Weex.
Apache License 2.0
611 stars 76 forks source link

weexpack build android #220

Closed tclxshunquan-wang closed 6 years ago

tclxshunquan-wang commented 6 years ago

/usr/local/lib/node_modules/weexpack/bin/weexpack-build.js:45 const build(platform, options) => { ^^^^^

SyntaxError: Missing initializer in const declaration at createScript (vm.js:74:10) at Object.runInThisContext (vm.js:116:10) at Module._compile (module.js:537:28) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Function.Module.runMain (module.js:609:10) at startup (bootstrap_node.js:158:16) at bootstrap_node.js:578:3

why?

fssgh commented 6 years ago

weexteam的一娃娃写错了代码。。。哈哈!!!请打开/usr/local/lib/node_modules/weexpack/bin/weexpack-build.js文件第45行修改一下,如下: ########原Start########################## /**

kolj commented 6 years ago

Hi. I have the same issue. Please suggest how to fix it

tclxshunquan-wang commented 6 years ago

本来打算提pr的