Error installing vue-cli because coffeescript moved
See original GitHub issueHi
System: Windows 10, node version 8.3.0
npm i -g vue-cli
gives this error:
> coffee-script@1.12.8 postinstall C:\Users\Dave\AppData\Roaming\npm\node_modules\vue-cli\node_modules\coffee-script
> node --eval 'if (require("./package.json").name === "coffee-script") { var red, yellow, cyan, reset; red = yellow = cyan = reset = ""; if (!process.env.NODE_DISABLE_COLORS) { red = "\x1b[31m"; yellow = "\x1b[33m"; cyan = "\x1b[36m"; reset = "\x1b[0m"; } console.warn(red + "CoffeeScript has moved!" + reset + " Please update references to " + yellow + "\"coffee-script\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) instead."); console.warn("Also, a new major version has been released under the " + yellow + "coffeescript" + reset + " name on NPM. This new release targets modern JavaScript, with minimal breaking changes. Learn more at " + cyan + "http://coffeescript.org" + reset + "."); console.warn(""); }'
[eval]:1
'if
^^^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:573:30)
at evalScript (bootstrap_node.js:435:27)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:578:3
i guess it’s because of this https://www.npmjs.com/package/coffee-script Now coffee-script is coffeescript
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:10 (6 by maintainers)
Top Results From Across the Web
npm install -g vue-cli -> coffeescript moved - node.js
All they say is that it will be fixed in version 2.9.2 , while I'm trying to install 2.9.3 .. Has anyone else...
Read more >[Solved]-npm install -g vue-cli -> coffeescript moved-Vue.js
I also encountered this problem. After understanding it, looking at the prompt, it was just a warning that CoffeeScript moved to "coffeescript" is...
Read more >Vue.js | PyCharm Documentation
Vue.js is a framework for developing user interfaces and advanced single-page applications. PyCharm provides support for the Vue.js building ...
Read more >Vue CLI tutorial
Tutorials: Vue CLI tutorial. Wallaby.js runs your JavaScript tests immediately as you type and displays execution results in your code editor.
Read more >Handling Webpack
If you are using Coffeescript then you need to EITHER disable ESLint OR tell ESLint which Vue components are using Coffeescript. Note that...
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
Unfortunately
metalsmith
is using an outdated major version ofgray-matter
so that PR won’t actually fixvue-cli
. Looks like we’ll have to fork metalsmith…Should be fixed in 2.9.2 by explicitly pinning
coffee-script
version