Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start error #29

Open
sheldonhu opened this issue Jan 26, 2018 · 1 comment
Open

npm start error #29

sheldonhu opened this issue Jan 26, 2018 · 1 comment

Comments

@sheldonhu
Copy link

/home/ubuntu/CmsWing-1.1.0/src/config/adapter/view.js:213
env.addFilter("getmodelfield", async(id, model_id, field, callback) => {
^

SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/ubuntu/CmsWing-1.1.0/src/config/adapter.js:51:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)

@arterli
Copy link
Owner

arterli commented Jan 26, 2018

升级node版本,7.6以上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants