如何在intelliji idea中集成nodejs

2025-03-23 00:38:09
推荐回答(1个)
回答1:

Intellij IDEA配置NodeJS
打开“Edit configurations”,进入配置面板

nodejs-4.png

点击“+”,选择Node.js,这儿有几项需要填,分别是:
name: web-nodejs,你需要启动服务的名称
Node interpreter: [your_node_path]\node.exe 选择你本的node执行文件路径
node parameters: helloworld.js 监听脚本