Description
New Issue Checklist
- [ x] I am not disclosing a vulnerability.
- [x ] I am not just asking a question.
- [ x] I have searched through existing issues.
- [x ] I can reproduce the issue with the latest version of Parse Server.
Issue Description
The dependency as it lists anything greater than I think 4. If using heroku it defaults to NodeJs v17.1.0. This crashes the app and causes it not to run. Changing it to "node": "14.18.1" will make it run.
Steps to reproduce
Load Parse locally using NodeJS 17.1.0, or load this repo into heroku and attach a mongoatlas and watch it crash.
Actual Outcome
The app crashes after build.
Expected Outcome
For the parse server to be up and running.
Environment
Heroku and locally if using 17.1 will result in a huge list of errors about exporting packages.
Server
- Parse Server version:
4.5
- Operating system:
Ubuntu 20.04 and Heroku
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): `both if using nodejs 17.1.0'
Database
Has nothing to do with it.
Client
Has nothing to do with it. Builds properly after change. Tested REST api and saved to my MongoAtlas.
Logs
2021-11-10T01:59:39.914107+00:00 heroku[web.1]: Starting process with command npm start
2021-11-10T01:59:41.044285+00:00 app[web.1]:
2021-11-10T01:59:41.044303+00:00 app[web.1]: > parse-server-example@1.4.0 start
2021-11-10T01:59:41.044303+00:00 app[web.1]: > node index.js
2021-11-10T01:59:41.044304+00:00 app[web.1]:
2021-11-10T01:59:42.516409+00:00 app[web.1]: node:internal/modules/cjs/loader:488
2021-11-10T01:59:42.516440+00:00 app[web.1]: throw e;
2021-11-10T01:59:42.516440+00:00 app[web.1]: ^
2021-11-10T01:59:42.516441+00:00 app[web.1]:
2021-11-10T01:59:42.516442+00:00 app[web.1]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './public/extractFiles' is not defined by "exports" in /app/node_modules/extract-files/package.json