Skip to content

Can`t install vue #659

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

Closed
ivanromakh opened this issue Nov 30, 2017 · 5 comments
Closed

Can`t install vue #659

ivanromakh opened this issue Nov 30, 2017 · 5 comments

Comments

@ivanromakh
Copy link

ivanromakh commented Nov 30, 2017

coffee-script did n`t installed
PS C:\work\rrs_pilot_new> npm install -g vue-cli
C:\Users\andri\AppData\Roaming\npm\vue-init -> C:\Users\andri\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-init
C:\Users\andri\AppData\Roaming\npm\vue -> C:\Users\andri\AppData\Roaming\npm\node_modules\vue-cli\bin\vue
C:\Users\andri\AppData\Roaming\npm\vue-list -> C:\Users\andri\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-list

[email protected] postinstall C:\Users\andri\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(""); }'

'if
^^^

SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Object. (eval-wrapper:6:22)
at Module._compile (module.js:635:30)
at evalScript (bootstrap_node.js:462:27)
at startup (bootstrap_node.js:163:9)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] 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(""); }'
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 logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\andri\AppData\Roaming\npm-cache_logs\2017-11-30T11_01_12_409Z-debug.log
PS C:\work\rrs_pilot_new> npm install -g [email protected]
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\andri\AppData\Roaming\npm-cache_logs\2017-11-30T11_02_03_893Z-debug.log
PS C:\work\rrs_pilot_new> npm install -g [email protected]
C:\Users\andri\AppData\Roaming\npm\coffee -> C:\Users\andri\AppData\Roaming\npm\node_modules\coffee-script\bin\coffee
C:\Users\andri\AppData\Roaming\npm\cake -> C:\Users\andri\AppData\Roaming\npm\node_modules\coffee-script\bin\cake

  • [email protected]
    added 1 package in 0.705s
    PS C:\work\rrs_pilot_new> npm install -g vue-cli
    C:\Users\andri\AppData\Roaming\npm\vue -> C:\Users\andri\AppData\Roaming\npm\node_modules\vue-cli\bin\vue
    C:\Users\andri\AppData\Roaming\npm\vue-init -> C:\Users\andri\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-init
    C:\Users\andri\AppData\Roaming\npm\vue-list -> C:\Users\andri\AppData\Roaming\npm\node_modules\vue-cli\bin\vue-list

[email protected] postinstall C:\Users\andri\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(""); }'

'if
^^^

SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Object. (eval-wrapper:6:22)
at Module._compile (module.js:635:30)
at evalScript (bootstrap_node.js:462:27)
at startup (bootstrap_node.js:163:9)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] 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(""); }'
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 logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\andri\AppData\Roaming\npm-cache_logs\2017-11-30T11_02_38_919Z-debug.log
PS C:\work\rrs_pilot_new> ^C

@ivanromakh
Copy link
Author

ivanromakh commented Nov 30, 2017

I installed coffee script 1.12.1 but it vue-cli needs 1.12.8 which I can`t install

@ivanromakh
Copy link
Author

ivanromakh commented Nov 30, 2017

PS C:\work\rrs_pilot_new> npm install -g [email protected]
C:\Users\andri\AppData\Roaming\npm\coffee -> C:\Users\andri\AppData\Roaming\npm\node_modules\coffee-script\bin\coffee
C:\Users\andri\AppData\Roaming\npm\cake -> C:\Users\andri\AppData\Roaming\npm\node_modules\coffee-script\bin\cake

  • [email protected]
    updated 1 package in 0.538s
    PS C:\work\rrs_pilot_new>
    But vue-cli needs 1.12.8 version can you change it like get the last worked version?

@ivanromakh
Copy link
Author

ivanromakh commented Nov 30, 2017

@posva
Copy link
Member

posva commented Nov 30, 2017

Duplicate of #655

@posva posva marked this as a duplicate of #655 Nov 30, 2017
@posva posva closed this as completed Nov 30, 2017
@lihua123569
Copy link

Coffeescript has been installed, but there are other problems, as follows
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants