Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seq不能引入环境env中的文件 #1

Open
shylock-wu opened this issue Oct 12, 2021 · 1 comment
Open

seq不能引入环境env中的文件 #1

shylock-wu opened this issue Oct 12, 2021 · 1 comment

Comments

@shylock-wu
Copy link

image
结果是我这样引入数据库的一些变量,根本没办法结构 试了下不结构也完全不能导入../config/config.default 请问杰哥咋办啊

@zia142857
Copy link

朋友你好,今天看杰哥视频也遇到这个问题,解决办法是在dotenv.config()传入参数:{path:'项目根目录下.env的完整路径'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants