opentiny / tiny-engine-webservice

Tiny Engine Web Service is a RESTful API responsible for providing data services, code generation services, and code release services to the front end. It does not directly operate on the database, and data operations request interfaces from TinyEngine Data Center.
MIT License
30 stars 28 forks source link

webservice 和data-center服务在本地npm run dev运行后,调接口正常,但是webservice服务改成本地npm run start后,调接口提示500报错 #1

Open cnbin opened 6 months ago

cnbin commented 6 months ago

后端服务运行后,如果本地运行,npm run dev调接口是成功正常的。但是webservice 服务进行npm run start后调接口,日志提示nodejs.Error: Please set config.keys first。我看了config里面默认也有配置key,这个是什么问题呢,请帮忙看看。 49f23ad2-0e3c-426c-a2e4-dfdea7300499 480e02df-d9ac-46ff-8a0f-b3da39a3be9d 1111

Lu17301156525 commented 5 months ago

可以看下官方部署文档,npm run start 线上部署时使用

luocongqiu commented 4 months ago

要先执行 npm run tsc

cnbin commented 4 months ago

好的,我试试,谢谢

发自我的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: @.***>