Skip to content

vue-cli init with some unknown error : Uncaught SyntaxError: Use of const in strict mode.  #1140

Closed
@Hillkinsh

Description

@Hillkinsh

when I initial a new project, I used commands as follows:
vue init webpack my-pro
cd my-pro/
npm install
npm run dev

then, it shows :
" DONE Compiled successfully in 5653ms

Your application is running here: http://localhost:8080" in command line",

but when I open chrome and address in localhost:8080,
there is an error:
"Uncaught SyntaxError: Use of const in strict mode. "

so, how could I solve it?

ps: node version v8.8.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions