Javascript Can';t在visual studio中运行node.js
错误:找不到模块“F:\New folder\exp.js”请尝试运行此Javascript Can';t在visual studio中运行node.js,javascript,node.js,visual-studio-code,node-modules,web-deployment,Javascript,Node.js,Visual Studio Code,Node Modules,Web Deployment,错误:找不到模块“F:\New folder\exp.js”请尝试运行此 > node 01-routing-requests exp.js 要运行node exp.js,您实际上需要在01 routing requests文件夹中。您的exp.js文件路径是F:\NEW folder\01 routing requests\exp.js,当前路径是F:\NEW folder\,您应该使用该命令来运行它: node 01-routing-requests\exp.js 请提供有关此问题
> node 01-routing-requests exp.js
要运行
node exp.js
,您实际上需要在01 routing requests文件夹中。您的exp.js文件路径是F:\NEW folder\01 routing requests\exp.js
,当前路径是F:\NEW folder\
,您应该使用该命令来运行它:
node 01-routing-requests\exp.js
请提供有关此问题的更多详细信息,可能还包括您尝试修复它的步骤。您是如何安装的?我建议先卸载它,然后安装适用于windows的nvm(节点版本管理器),然后重试