下载的官方wafer2-startup-master,然后根据文档指引执行node initdb.js,为啥报以下错?
我本地执行的,开发环境
const { mysql: config } = require('../config')
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3