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

项目启动失败 #12

Open
DengCong0126 opened this issue Nov 22, 2019 · 6 comments
Open

项目启动失败 #12

DengCong0126 opened this issue Nov 22, 2019 · 6 comments

Comments

@DengCong0126
Copy link

[root@test_server GitDataV]# npm run dev

[email protected] dev /opt/GitDataV
vue-cli-service serve

/opt/GitDataV/node_modules/open/index.js:16
const wslToWindowsPath = async path => {
^^^^

SyntaxError: Unexpected identifier
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. (/opt/GitDataV/node_modules/@vue/cli-shared-utils/lib/openBrowser.js:9:14)

npm ERR! Linux 3.10.0-957.12.2.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! [email protected] dev: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script 'vue-cli-service serve'.
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 GitDataV package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! vue-cli-service serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs GitDataV
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls GitDataV
npm ERR! There is likely additional logging output above.

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

这是由于什么原因造成的

@HongqingCao
Copy link
Owner

请查看node版本是否太低,建议升级node版本

@DengCong0126
Copy link
Author

DengCong0126 commented Nov 22, 2019 via email

@DengCong0126
Copy link
Author

项目启动后的初始密码是什么,谢谢

@HongqingCao
Copy link
Owner

未设有初始密码,输入想要查看的github账号即可

@DengCong0126
Copy link
Author

DengCong0126 commented Nov 25, 2019 via email

@DengCong0126
Copy link
Author

DengCong0126 commented Nov 25, 2019 via email

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