How To Install and SetUp Visual Studio (IDE) and NodeJs and NPM
First, install the Visual Studio IDE for ForntEnd Code Editor (Visual studio is flexible for Frontend Technologies)
How To Install Visual Studio On System?
To download Visual Studio -https://code.visualstudio.com/Download
If prompted, click on Save File.
After the file downloads, open your terminal and go to the Downloads folder.
$ cd ~/Downloads
Next, run this command to install the Visual Studio Code.
sudo dpkg -i code_1.26.0-1534177765_amd64.deb
Close the terminal.
Visual Studio Code is now installed.
How To Install and SetUp NodeJs and NPM
go through the link and download - https://nodejs.org/en/
Once download done, open, and click on next...
after they need to add some packages so allow auto-download and it takes 20 to 30 mins(based on the internet)
after open cmd - type npm install
after the check version: npm -v (here you can find successfully install or not. if version show then install otherwise please do proper setup)
to run a server, type in Command Prompt - npm run serve
then you will get
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.1.11:8080/
open browser and past local link then your application will show on the local browser.
if you get any error means:
98% after emitting CopyPlugin
ERROR Failed to compile with 1 error 1:12:03 PM
error in ./src/App.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Cannot find module 'node-sass'
in cmd type - npm install gulp-sass
errors Be like:
npm ERR! code ENOTFOUND npm ERR! errno ENOTFOUND npm ERR! network request to http://registry.npm.taobao.org/yallist failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.org npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\venkatasivaramireddy\AppData\Roaming\npm-cache\_logs\2020-01-27T07_25_38_585Z-debug.log
Once download done, open, and click on next...
after they need to add some packages so allow auto-download and it takes 20 to 30 mins(based on the internet)
after open cmd - type npm install
after the check version: npm -v (here you can find successfully install or not. if version show then install otherwise please do proper setup)
to run a server, type in Command Prompt - npm run serve
then you will get
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.1.11:8080/
open browser and past local link then your application will show on the local browser.
if you get any error means:
98% after emitting CopyPlugin
ERROR Failed to compile with 1 error 1:12:03 PM
error in ./src/App.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Cannot find module 'node-sass'
in cmd type - npm install gulp-sass
errors Be like:
npm ERR! code ENOTFOUND npm ERR! errno ENOTFOUND npm ERR! network request to http://registry.npm.taobao.org/yallist failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.org npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\venkatasivaramireddy\AppData\Roaming\npm-cache\_logs\2020-01-27T07_25_38_585Z-debug.log
Comments
Post a Comment