直接启动调试
- 发布:2020-10-15 10:18
- 更新:2020-11-04 09:54
- 阅读:792
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 2004
HBuilderX版本号: 2.9.3
操作步骤:
预期结果:
可以调试
可以调试
实际结果:
不能调试
不能调试
bug描述:
10:13:47.361 (node:15020) UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
10:13:47.361 at Launcher.launch (W:\ProgramFiles\HBuilderX\plugins\uniapp-debugger\node_modules\puppeteer-cn-2\node_modules\puppeteer\lib\Launcher.js:119:15)
10:13:47.361 at <anonymous>
10:13:47.361 (node:15020) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
10:13:47.361 (node:15020) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
W:\ProgramFiles\HBuilderX\plugins\uniapp-debugger\node_modules\puppeteer-cn-2\node_modules
删除这个目录,在当前目录再执行yarn install 或npm install
少年时 (作者) - 初代 uni-app 开发,出来就在用,插件开发请联系 wx: web5goldhunter
测试同样的bug,两台电脑系统都为msdn 最新win10 20h2,都是一样的错误
少年时 (作者)
还是一样的问题
2020-10-15 10:59
DCloud_UNI_GSQ
回复 少年时: 重新安装HBuilderX
2020-10-15 11:10
少年时 (作者)
回复 DCloud_UNI_GSQ: 我用everything 搜索hbuilder相关的文件全部清除,干干净净然后下载最新的正式版安装,导入项目,删除node_modules, 更新到最新,安装依赖。打开依旧,我同事的mac没问题
2020-10-15 12:04