遇到的问题:
节跳动开发者工具无法上传代码至测试版,并提示错误信息 '{}';
解决过程:
打开 帮助 -> 开发者工具,查看log,分析报错信息可能跟网络有一定关系。
[Extension Host] 展示预览上传的url https://developer.toutiao.com/api/v2/app/ttdc3eaa834305d74c/testing (at Object.error (/Applications/字节跳动开发者工具.app/Contents/Resources/app/extensions/miniprogram-extension/out/index.js:660:334028))log @ /Applications/字节跳动开发者工具.app/Contents/Resources/app/node_modules/@byted/vela/out/vs/base/common/console.js:104/Applications/字节跳动开发者工具.app/Contents/Resources/app/node_modules/@byted/vela/out/vs/base/common/console.js:104 [Extension Host] chunk是什么 Object {"error":0,"message":""} (at Object.error (/Applications/字节跳动开发者工具.app/Contents/Resources/app/extensions/miniprogram-extension/out/index.js:660:334028))log @ /Applications/字节跳动开发者工具.app/Contents/Resources/app/node_modules/@byted/vela/out/vs/base/common/console.js:104/Applications/字节跳动开发者工具.app/Contents/Resources/app/node_modules/@byted/vela/out/vs/base/common/console.js:104 [Extension Host] 内网检测未通过 (at Object.error (/Applications/字节跳动开发者工具.app/Contents/Resources/app/extensions/miniprogram-extension/out/index.js:660:334028))
最终解决方案:
关闭电脑的vpn代理,重启IDE,点击上传,成功。_(:з」∠)_
网友评论