Vue-cli: console.log(`> Use cached template at ${chalk.yellow(tildify(tmp))}`)

Created on 26 Apr 2017  路  3Comments  路  Source: vuejs/vue-cli

C:\ > vue.cmd
initconsole.log(> Use cached template at ${chalk.yellow(tildify(tmp))})
^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Seems to be a problem under Windows with the CLI?

Most helpful comment

yeah, node 4 min

All 3 comments

node -v
v0.12.2

Nvm

yeah, node 4 min

Thank you, I'm a newborn when it comes to Node.js. If you hadn't of posted this and it's solution, I'd have given up.

I installed VS Code and it seems as though it installed 0.12.2.
Uninstalling node,js and installing a later version solved all my problems.
Thank you again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OmgImAlexis picture OmgImAlexis  路  3Comments

pecliu picture pecliu  路  3Comments

b-zee picture b-zee  路  3Comments

chasegiunta picture chasegiunta  路  3Comments

BusyHe picture BusyHe  路  3Comments