【问题标题】:CUBA Platform Frontend UI update model doesn't workCUBA 平台前端 UI 更新模型不起作用
【发布时间】:2021-11-05 10:44:20
【问题描述】:

我需要更新后端模型,所以我输入了 npm run update-model 命令但它返回错误:

events.js:292
throw er; // Unhandled ‘error’ event
^

Error: connect ECONNREFUSED 127.0.0.1:*****
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Emitted ‘error’ event on ClientRequest instance at:
at Socket.socketErrorListener (_http_client.js:469:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -61,
code: ‘ECONNREFUSED’,
syscall: ‘connect’,
address: ‘127.0.0.1’,
port: ******
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! project2 update-model: gen-cuba-front sdk:all --dest src/cuba
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the project2 update-model script.

【问题讨论】:

    标签: cuba-platform


    【解决方案1】:

    可能在 Studio 中的集成标志未打开。 使用主菜单 -> 文件 -> 设置 -> CUBA -> 启用集成。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多