Open cnbin opened 6 months ago
可以看下官方部署文档,npm run start 线上部署时使用
要先执行 npm run tsc
好的,我试试,谢谢
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: abin @.> 发送时间: 2024年2月29日 09:18 收件人: opentiny/tiny-engine-webservice @.> 抄送: cnbin @.>, Author @.> 主题: Re: [opentiny/tiny-engine-webservice] webservice 和data-center服务在本地npm run dev运行后,调接口正常,但是webservice服务改成本地npm run start后,调接口提示500报错 (Issue #1)
要先执行 npm run tsc
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
后端服务运行后,如果本地运行,npm run dev调接口是成功正常的。但是webservice 服务进行npm run start后调接口,日志提示nodejs.Error: Please set config.keys first。我看了config里面默认也有配置key,这个是什么问题呢,请帮忙看看。
![1111](https://github.com/opentiny/tiny-engine-webservice/assets/8576832/cc6bbeed-05f6-4628-80d5-4d39db763595)