WebStorm+Node.js开发环境配置实践教程

2018-12-0316:41:33WEB前端开发Comments3,116 views字数 669阅读模式

1 下载地址:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

webstorm:http://www.jetbrains.com/webstorm文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

node.js:https://nodejs.org/download/文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

2 安装node.js文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

按照提示一步步安装即可,不用多说,安装完成后检测PATH环境变量是否配置了Node.js,点击开始=》运行=》输入"cmd" => 输入命令"path",输出如下结果:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

    PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;
    C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
    c:\python32\python;C:\MinGW\bin;C:\Program Files\GTK2-Runtime\lib;
    C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\nodejs\;
    C:\Users\rg\AppData\Roaming\npm

我们可以看到环境变量中已经包含了C:\Program Files\nodejs\文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

检查Node.js版本文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

WebStorm+Node.js开发环境配置实践教程文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

3 安装配置webstorm文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

安装过程很简单,不多说,配置过程如下:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

3.1 File->setting  输入node.js文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

配置Node interpreter文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

WebStorm+Node.js开发环境配置实践教程文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

3.2 配置node.js的source code文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

WebStorm+Node.js开发环境配置实践教程文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

3.3 测试是否可以运行node.js 代码文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

WebStorm+Node.js开发环境配置实践教程文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

 文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

确实比较好用:)文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

 文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html

  • 本站内容整理自互联网,仅提供信息存储空间服务,以方便学习之用。如对文章、图片、字体等版权有疑问,请在下方留言,管理员看到后,将第一时间进行处理。
  • 转载请务必保留本文链接:https://www.cainiaoxueyuan.com/gcs/8479.html

Comment

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定