vscode 编译工程问题总结

1.安装NuGet Package出错

The "path" argument must be of type string or an instance of Buffer of URL Received undefined

解决方法:

账号登录,重启vscode

(1)找到登录

(2)选择一个登录方式登录

(3)登录成功,重启vscode

2.编译时node错误,需要安装Nodejs:

node:无法将"node"识别为cmdlet.....

解决方法(参考博客):

node : 无法将"node"项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正 确,然后再试一次 的解决方案_咸鱼柴也有大厂梦的博客-CSDN博客

3.编译出现node Uncaught SyntaxError F:\TEST\test.exe:1MZ�

SyntaxError: Unexpected identifier

at internalCompileFunction (node:internal/vm:73:18)

at wrapSafe (node:internal/modules/cjs/loader:1178:20)

at Module._compile (node:internal/modules/cjs/loader:1220:27)

at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)

at Module.load (node:internal/modules/cjs/loader:1119:32)

at Module._load (node:internal/modules/cjs/loader:960:12)

at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

at node:internal/main/run_main_module:23:47

Node.js v18.17.0

解决方法:

(1)由于node下载至D盘,打开vscode设置,修改安装位置:

(2)默认为"none",修改为"D:\\nodejs\\node.exe"

相关推荐
zhangfeng11332 小时前
2026年国际国外top10 top20流行的ai ide,
ide·人工智能
CDialog2 小时前
vscode编译ci1303sdk的源代码
ide·vscode·编辑器
xiaoshiquan12063 小时前
Android Studio里,SDK Manager显示不全问题
android·ide·android studio
1-1=05 小时前
Visual Studio Code 简介
ide·vscode·编辑器
π同学7 小时前
ESP-IDF+vscode开发ESP32第一讲——GPIO
vscode·esp32·esp-idf
yatum_20147 小时前
VirtualBox 搭建 Hadoop-2.7.3 集群完整安装总结
java·ide·eclipse
AI+程序员在路上8 小时前
在pyCharm 中命令打包生成exe文件方法
ide·python·pycharm
c++之路9 小时前
Vim 完整安装与配置指南(Ubuntu 系统 + Vimplus 增强)
ubuntu·编辑器·vim
HookJames9 小时前
在VSCode中部署OpenRouter的时候,遇到的问题
ide·chrome·vscode
2501_916007479 小时前
提高开发效率的尝试,用快蝎(kxapp)完成 iOS 项目的创建、调试与构建
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程