2 Star 33 Fork 12

zendea / zendea

 / 详情

frontend里面这步npm run dev报错

Backlog
Opened this issue  
2020-06-10 10:55

npm run dev

zendea-frontend@1.0.0 dev /home/admin/kkk/zendea/frontend
nuxt

/home/admin/kkk/zendea/frontend/node_modules/@nuxt/cli/dist/cli-index.js:69
async function _import (modulePath) {
^^^^^^^^

SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/home/admin/kkk/zendea/frontend/node_modules/@nuxt/cli/dist/cli.js:12:15)

npm ERR! Linux 3.10.0-1127.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! zendea-frontend@1.0.0 dev: nuxt
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zendea-frontend@1.0.0 dev script 'nuxt'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the zendea-frontend package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! nuxt
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs zendea-frontend
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls zendea-frontend
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/admin/kkk/zendea/frontend/npm-debug.log

dockerfile也不行!

Comments (0)

aq2.cn created任务
aq2.cn set related repository to zendea/zendea
展开全部操作日志

Sign in to comment

状态
Assignees
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
Go
1
https://gitee.com/zendea/zendea.git
git@gitee.com:zendea/zendea.git
zendea
zendea
zendea

Search