nativescript - 尝试在 nativescript sidekick 上发布时出错
问题描述
每次我尝试使用 sidekick 发布应用程序时,都会遇到相同的错误:
--> starting at object with constructor 'Error'
--- property 'errors' closes the circle
at JSON.stringify (<anonymous>)
at process.target._send (internal/child_process.js:778:25)
at process.target.send (internal/child_process.js:676:19)
at MessageService.sendMessage (/opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/message-service.js:34:21)
at sendMessage (/opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/child-helpers.js:13:24)
at sendErrorMessage (/opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/child-helpers.js:19:9)
at /opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/child-helpers.js:36:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at emitUnhandledRejectionWarning (internal/process/promises.js:141:15)
at processPromiseRejections (internal/process/promises.js:203:11)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
(CLI) (node:17346) TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Error'
--- property 'errors' closes the circle
at JSON.stringify (<anonymous>)
at process.target._send (internal/child_process.js:778:25)
at process.target.send (internal/child_process.js:676:19)
at MessageService.sendMessage (/opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/message-service.js:34:21)
at sendMessage (/opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/child-helpers.js:13:24)
at sendErrorMessage (/opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/child-helpers.js:19:9)
at /opt/NativeScript Sidekick/resources/app.asar.unpacked/shared/child-process/child-helpers.js:36:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:17346) [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.
at emitDeprecationWarning (internal/process/promises.js:153:11)
at processPromiseRejections (internal/process/promises.js:205:13)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
版本:1.19.2-v.2019.11.18.2(最新) NativeScript CLI 版本:6.2.2 CLI 扩展 nativescript-cloud 版本:1.19.3 CLI 扩展 nativescript-starter-kits 版本:0.3.5
节点:v12.13.1
我已经尝试将节点版本降级到 10.12.0,仍然得到相同的错误
解决方案
推荐阅读
- python - 如何在 PyQt5 中使用提升的类?
- html - Flex 影响内部内联元素
- r - 将函数传递给令牌时使用 unnest_tokens() 时出错
- html - IE 11 不尊重输入数字并允许输入非数字值
- python - 如何在 Python 中修复我的猜数字游戏?
- c# - 使用实体框架选择列中的所有值
- kubernetes - kubernetes 无法在 VirtualCenter 部分存储数据,子部分变量 insecure-flag
- karate - 空手道测试 - 在“匹配每个”中进行“或”匹配的任何方式?
- javascript - 表单提交后vue.js帖子列表未更新
- unity3d - MRTK V2.2 - 通过脚本访问语音命令