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 run serve 本地启动失败 #27

Open
brotherlu-xcq opened this issue Feb 9, 2022 · 0 comments
Open

npm run serve 本地启动失败 #27

brotherlu-xcq opened this issue Feb 9, 2022 · 0 comments

Comments

@brotherlu-xcq
Copy link

npm版本:6.4.1 日志信息:

 INFO  Starting development server...
98% after emitting CopyPlugin

 ERROR  Failed to compile with 1 error                                                                                                                                                                                        11:16:32

 error  in ./src/main.js

Syntax Error: D:\research\tduck-front\node_modules\eslint\lib\cli-engine\cli-engine.js:422
    } catch {
            ^

SyntaxError: Unexpected token {


 @ multi (webpack)-dev-server/client?http://10.209.203.165:8888&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

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