1.安装nodejs客户端,idea安装nodejs插件,配置setting 中nodejs配置指向nodejs客户端安装目录node.exe,
2.配置npm:先走commad:install,再commad:run,也可以命令行