-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
今天全局安装vue-cli提示coffee-script错误,请尽快修改这个错误 #658
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
L:\nodejs\node_global\vue -> L:\nodejs\node_global\node_modules\vue-cli\bin\vue
L:\nodejs\node_global\vue-init -> L:\nodejs\node_global\node_modules\vue-cli\bin\v
ue-init
L:\nodejs\node_global\vue-list -> L:\nodejs\node_global\node_modules\vue-cli\bin\v
ue-list
'if
^^^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Object. (eval-wrapper:6:22)
at Module._compile (module.js:569:30)
at evalScript (bootstrap_node.js:432:27)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:575:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:
node --eval 'if (require("./package.js on").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 + "CoffeeScri pt has moved!" + reset + " Please update references to " + yellow + "\"coffee-scri pt\"" + reset + " to use " + yellow + "\"coffeescript\"" + reset + " (no hyphen) i nstead."); 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://coffee script.org" + reset + "."); console.warn(""); }'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional loggi
ng output above.
npm ERR! A complete log of this run can be found in:
npm ERR! L:\nodejs\node_cache_logs\2017-11-30T10_26_19_285Z-debug.log
The text was updated successfully, but these errors were encountered: