我使用以下 libreoffice buildpack 部署了一个节点应用程序:https://elements.heroku.com/buildpacks/bluetealondon/heroku-buildpack-libreoffice-for-heroku-18
但是,当我的应用程序尝试在 Heroku 上启动时,它会抛出以下错误:
Internal watch failed: ENOSPC: System limit for number of file watchers reached, watch '/app/vendor/libreoffice/usr/share/icons/hicolor/32x32/mimetypes/libreoffice6.4-presentation-template.svg'
Run Code Online (Sandbox Code Playgroud)
显然我发现我需要增加限制,但在 Heroku 上我没有 sudo 访问权限。我现在的问题是,我该如何解决这个问题?因为我的应用程序需要 Libreoffice 构建包。