系统 Win10,
开发者版本 Stable 1.06.2401020,
日志:
report data key appid shall not be set! (got wx5b1b4044b4a5925a)
[2024-03-08 23:33:02.435][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#0] new FileUtils instance dirpath = C:\Users\yuhy\WeChatProjects\miniprogram1 {
enableContentDiff: true,
enableNewFW: true,
enableDirCache: true,
enableNoEmit: false,
noCacheContent: false,
cacheStorePath: 'C:/Users/yuhy/AppData/Local/微信开发者工具/User Data/97c2c3ed9e9b4a343745d4ac3603eef1/WeappCache/dirCache/cabfe4a7194e9401dc7bab855d72599a',
needReport: true,
ignore: [],
engineSimple: false,
justWatcher: false,
runProcessTask: true,
chokidarConfig: { chokidarLibName: 'vscode-chokidar-16' }
}
[2024-03-08 23:33:02.439][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#0] initAll start
[2024-03-08 23:33:02.440][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#0] getFile start
[2024-03-08 23:33:02.443][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#0] getFileByGlobAsync start
Idle CP Exit with code
[2024-03-08 23:33:02.512][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#0] initOldWatcher start
Master token of type
[2024-03-08 23:33:02.797][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#0] initOldWatcher duration 285
[File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\yuhy\WeChatProjects\miniprogram1\.vscode'
2
Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:
Error: [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\yuhy\AppData\Local\微信开发者工具\User Data\97c2c3ed9e9b4a343745d4ac3603eef1\Default\Editor\logs\20240308T233302'
[File Watcher (node.js)] Error: ENOENT: no such file or directory, stat 'c:\Users\yuhy\AppData\Local\微信开发者工具\User Data\97c2c3ed9e9b4a343745d4ac3603eef1\Default\Editor\logs\20240308T233302'
出现未知错误。有关详细信息,请参阅日志。
[weixin-cloudbase.vscode-docker-wx-cloudbase]: 菜单项引用未在“命令”部分进行定义的命令“remote-containers.attachToRunningContainerFromViewlet”。
[ms-vscode.js-debug]: 视图容器“debug”不存在。所有注册到其中的视图将被添加到“资源管理器”中。
Extension host terminated unexpectedly. Code:
Extension host terminated unexpectedly. The following extensions were running:
[2024-03-08 23:33:04.940][WARN][1.06.2401020][\js\common\fileutils\logger.js] [Fileutils][1.4.5][#1] new FileUtils instance dirpath = C:\Users\yuhy\AppData\Local\微信开发者工具\User Data\97c2c3ed9e9b4a343745d4ac3603eef1\WeappLocalData {
enableContentDiff: false,
enableNewFW: true,
enableDirCache: true,
enableNoEmit: false,
noCacheContent: false,
cacheStorePath: '',
needReport: false,
ignore: [],
chokidarConfig: { depth: 1, chokidarLibName: 'vscode-chokidar-16' }
}
已解决: C盘空间满导致的文件操作错误,这个“扩展宿主意外中止”代表着各种“未知错误”,具体原因要自己从调试调试器和日志信息里找