-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
请尽快修复coffee-script安装失败的问题 #657
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
Comments
mark f**k NPM PR 4 gray-matter |
CoffeeScript has moved, wait until update |
still doesn't work :) |
you can modify package.json and run |
@sansroman modify which module's package.json,i can's install vue-cli. |
@ChangedenCZD I modify global,you can try |
@sansroman |
@sansroman https://www.npmjs.com/package/coffee-script CoffeeScript has moved! |
@ChangedenCZD So replace with coffee-script |
@sansroman how can i do this?wait for official update? |
@ChangedenCZD What is the wrong message when you run |
@sansroman Error: coffee-script@1.12.8 postinstall: 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(""); }' |
@ChangedenCZD no tube,please continue |
@sansroman this answer [https://stackoverflow.com/questions/13011290/cannot-find-module-coffee-script] comes from five years ago |
@royeaher sorry, but the same issue fixed for me |
Duplicate of #655 |
目前无法完成 npm i -g vue-cli 的操作。
错误问题:Error: coffee-script@1.12.8 postinstall:
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(""); }'
分析原因:coffee-script模块已被移除,改为 coffeescript
The text was updated successfully, but these errors were encountered: