Skip to content

使用mysql数据库搭建,运行时提示{ "errno": 500, "errmsg": "Not initialized" } #707

Answered by lizheming
shafishcn asked this question in Q&A
Discussion options

You must be logged in to vote

Waline 是直接使用的环境变量 process.env,具体的代码见 https://github.com/walinejs/waline/blob/main/packages/server/src/config/config.js。目前看应该是环境变量没传到 Node 层,你可以再调试一下看看。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants