[Vuejs]-Creating my first Vue.js app with WebStorm

0👍

Here is my suggestion from my previous installation

  1. First install vue-cli with with the following command

    npm i @vue/cli -g

The following commands generated some issues in my case:

npm install -g vue-cli 

For the old version: npm i vue-cli -g

To prevent permissions errors while installing vue-cli

  • Back-up your computer before you start.
  • Make a directory for global installations:
    mkdir ~/.npm-global

  • Configure npm to use the new directory path:
    npm config set prefix ‘~/.npm-global’

  • Open or create a ~/.profile file and add this line: export PATH=~/.npm-global/bin:$PATH

  • Back on the command line, update your system variables: source ~/.profile

2.
Install WebStorm Early Access Program

Leave a comment