vue cli not create webpack-simple
See original GitHub issuehi
I upgraded node js and vue cli . but I can not create new template .
vue init webpack-simple
/usr/local/lib/node_modules/vue-cli/bin/vue-init:60
let template = program.args[0]
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
node : v4.2.6 npm : 3.5.2 vue-cli : 2.9.1
Thank you for helping me
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:10 (1 by maintainers)
Top Results From Across the Web
How to configure Webpack-simple with Vue Cli 3?
Not with webpack-simple. The standard way is to use vue create now, which creates its own configuration. Do have any questions regarding the...
Read more >Working with Webpack | Vue CLI
Some webpack options are set based on values in vue.config.js and should not be mutated directly. For example, instead of modifying ...
Read more >Vue-cli Webpack-Simple Tutorial - Vegibit
The vue-cli tool gives us a “batteries-included” build environment that ... Not loading all files on startup (allows lazy loading); Automatic Hot Reloading ......
Read more >Vue CLI 3 - Creating our Project - Real World Vue 2
Learn how to create a project with Vue CLI 3 from the command line and with the Vue UI. Then learn how the...
Read more >Developing and Distributing Vue.js Packages - Voerro Tutorials
Using vue-cli we can easily create an empty project with webpack set up out of the box ... This creates a new Vue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Perhaps node verison is too low. update your node version using
when you node -v find there is no change, but try to init vue project again.
Thanks @jiujiuwen