Closed tclxshunquan-wang closed 6 years ago
weexteam的一娃娃写错了代码。。。哈哈!!!请打开/usr/local/lib/node_modules/weexpack/bin/weexpack-build.js文件第45行修改一下,如下: ########原Start########################## /**
Hi. I have the same issue. Please suggest how to fix it
本来打算提pr的
/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?