部署到heroku后,为什么我的应用程序文件夹丢失了?

时间:2020-11-12 03:02:16

标签: heroku

我有一个Express应用,并部署在heroku上。当我在heroku上运行它时,出现错误:

[Error: ENOENT: no such file or directory, open '/app/public/data...

我检查了使用heroku run bashls应用目录的情况,发现应该放​​在data内的public文件夹丢失了。

My local folder structure

[On heroku dyno2

那是为什么?

0 个答案:

没有答案
相关问题