DOClever / DOClever

做最好的接口管理平台

Home Page:http://doclever.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

本地无法启动

qushaoye2009 opened this issue · comments

commented

➜ DOClever git:(master) ✗ npm start

DOClever@0.0.0 start /www/DOClever/DOClever
node ./Server/bin/www

/www/DOClever/DOClever/Server/app.js:30
(async function () {
^^^^^^^^

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. (/www/DOClever/DOClever/Server/bin/www:7:11)

npm ERR! Linux 3.10.0-862.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.14.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! DOClever@0.0.0 start: node ./Server/bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the DOClever@0.0.0 start script 'node ./Server/bin/www'.
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 DOClever package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./Server/bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs DOClever
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls DOClever
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /www/DOClever/DOClever/npm-debug.log

commented

一样的问题,我下载的是6.2.0 tag下的