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

yarn serve报错 #2

Open
wangsanshi123 opened this issue Dec 31, 2020 · 0 comments
Open

yarn serve报错 #2

wangsanshi123 opened this issue Dec 31, 2020 · 0 comments

Comments

@wangsanshi123
Copy link

[root@b9ab23221169 maji]# yarn serve
yarn run v1.22.10
$ vue-cli-service serve
/root/maji/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. (/root/maji/node_modules/@vue/cli-shared-utils/lib/openBrowser.js:9:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[root@b9ab23221169 maji]#

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

1 participant