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

webstorm configures nodejs development environment

王林
Release: 2020-12-28 10:46:38
forward
10550 people have browsed it

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template