webstorm configures nodejs development environment
Dec 28, 2020 am 10:46 AMThe specific configuration method is as follows:
(Learning video sharing: Programming video)
Run in Terminal, node - v, error 'node' is not an internal or external command, nor is it an operable program.
es6 prompts ESLint: please specify Node.js interpreter
Because the nodejs environment is not configured in webstorm, the above problem occurs. Let’s talk about configuring the nodejs environment in webstorm:
(1) If you have not downloaded nodejs, go to the official website to download it first. If downloaded, click Start=》Run=》Enter cmd", check the path and node -v, and output the following results:
Indicates that there is nodejs, node in the environment variables -v got the version number of node, and the node installation was successful.
(2) Configure the nodejs environment in webstorm
File->Settings-> Enter nodejs in the search box, Find Nodejs and NPM -> Node interpreter, find the node.exe path of the downloaded nodejs. Then click Apply to confirm.
The above is the detailed content of webstorm configures nodejs development environment. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The difference between nodejs and tomcat

The difference between nodejs and vuejs

What is the difference between npm and npm.cmd files in the nodejs installation directory?

Is nodejs a back-end development language?

What are the global variables in nodejs

Is there a big difference between nodejs and java?

Is there a big difference between navicat and datagrip?
