Just a little note for those of you who run parse server on Heroku.
It seems like a recent major release of node (from version 16 to 17) might be causing some issue (we explained a workaround we found at the bottom).
Actually, we suddenly started to have the following issue on Heroku that we’d never experienced before. There was no error message when building, as it showed message at the end,
remote: -----> Build succeeded!
remote: -----> Discovering process types
remote: Procfile declares types → (none)
remote: Default types for buildpack → web
remote: -----> Compressing…
However, it crashed when it tried to run it.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath ‘./public/extractFiles’ is not defined by “exports” in /app/node_modules/extract-files/package.json
What worked for us for now is to set the “engines” versions for node and npm on package.json to be: