Vue CLI not working




I followed instructions to install vue-cli through npm, then install npm in the new folder and run vue cli with webpack-simple installed. A message said vue cli is running on localhost:8081. I tried going to and saw a blank page. How do I get to a live page?
> vue-cli@1.0.0 dev /home/ubuntu/workspace/vue-cli

cross-env NODE_ENV=development webpack-dev-server --open --hot

 Project is running at http://localhost:8081/
 webpack output is served from /dist/
 404s will fallback to /index.html
 loaderUtils.parseQuery() received a non-string value which can be problematic, see 
 parseQuery() will be replaced with getOptions() in the next major version of loader-utils.


This might be a bit late but…
Try updating node version: How to update Node.js
and then your npm version as well: How to upgrade NPM

With that done try using “webpack” template instead of “webpack-simple”.
General “webpack” template is building just fine, again the overall approach is different from simple version though.

It should have been fixed within though it didn’t help much for ‘simple’ template but I might be missing something here :slight_smile:


I had this issue updating the version actually made other problems which I couldn’t fix. By just using webpack instead of webpack-simple, I was able to get the project running.