Answer the question
In order to leave comments, you need to log in
How to deploy vue-cli and node.js on server?
I decided to install on my server
Linux server 3.16.0-8-amd64 #1 SMP Debian 3.16.64-2 (2019-04-01) x86_64 GNU/LinuxNode js project using vue.
npm install -g vue-cliinstalled vue
vue init webpage
server responds[email protected]:/var/www/vue# vue init webpage
/usr/local/lib/node_modules/vue-cli/bin/vue-init:35
program.on('--help', () => {
^
SyntaxError: Unexpected token )
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:906: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