Answer the question
In order to leave comments, you need to log in
Why can't I install vue-cli?
System ubuntu 14.04 I
executed it in the terminal npm install --global vue-cli
Then I do it: vue init webpack my-project
and in response, several heaps of errors fall out:
/usr/local/lib/node_modules/vue-cli/bin/vue-init:65
console.log(`> Use cached template at ${chalk.yellow(tildify(tmp))}`)
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question