s***@honsin.cc
s***@honsin.cc
  • 发布:2022-07-21 16:42
  • 更新:2022-07-21 17:50
  • 阅读:311

【报Bug】重启电脑后 运行项目 运行不了 Uncaught (in promise)Object

分类:HBuilderX

重启电脑后 运行项目 运行不了

经过描述
在插件市场下载了 unicloud的插件uni-cloud-router 下载后一直显示正在下载到 临时目录中 没有办法导入到项目 而后就重启电脑放弃这个插件了

重启电脑后 运行项目没一会 就显示 无法连接本地的云函数库 ,我在云函数中用了 uniCloud.httpclient.request(); 这个问题在上一步的无法导入到项目中就出现这个问题了
因为无法连接本地云函数的这个问题 没办法解决,.
于是我还是重启吧 ,这次重启完 就 无法运行项目
HBuilder版本3.5.2 和3.4.18 都无法运行
显示错误


15:21:13.879 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。    
15:21:13.882 正在编译中...    
15:21:13.882 ​当前项目使用了uniCloud,为避免云函数调用跨域问题,建议在HBuilderX内置浏览器里调试,如使用外部浏览器需处理跨域,详见:https://uniapp.dcloud.io/uniCloud/quickstart?id=useinh5​    
15:21:14.513  INFO  Starting development server...    
15:21:28.453 WARNING: Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):    
15:21:28.453 (Emitted value instead of an instance of Error) <v-uni-label v-for="item in t.list">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.    
15:21:28.458 Module Warning (from ./node_modules/postcss-loader/src/index.js):    
15:21:28.459 Warning    
15:21:28.460 (5:1) D:\autoApp\moon-chest-app\common\css\common.css is empty    
15:21:28.462   App running at:    
15:21:28.462   - Local:   http://localhost:8080/app/     
15:21:28.464   - Network: http://192.168.1.3:8080/app/    
15:21:28.464 项目 'moon-chest-app' 编译成功。前端运行日志,请另行在浏览器的控制台查看。    
15:21:28.466 H5版常见问题参考: https://ask.dcloud.net.cn/article/35232    
15:21:29.200 [HMR] Waiting for update signal from WDS...    
15:21:31.367 Uncaught (in promise)Object
2022-07-21 16:42 负责人:无 分享
已邀请:
s***@honsin.cc

s***@honsin.cc (作者)

cao....解决了;忘记本地开Apache 服务器了

要回复问题请先登录注册