Home>Article>Development Tools> webstorm configures nodejs development environment

webstorm configures nodejs development environment

王林
王林 forward
2020-12-28 10:46:38 10298browse

webstorm configures nodejs development environment

The 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:

webstorm configures nodejs development environment

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.

webstorm configures nodejs development environment

##The last step is very important, restart webstorm!!

Related recommendations:

webstorm usage tutorial

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete