Home>Article>Development Tools> 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:
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!