Skip to content

Webpack issues on Node 17 #785

Open
@Devesh21700Kumar

Description

@Devesh21700Kumar

A friend tried deploying the web app on Heroku and it showed this error (pasted in the bin link below)
https://pastebin.com/aadQpxS9

The fix for this was adding export NODE_OPTIONS=--openssl-legacy-provider; to build script in package.json

If a check for nodejs version can be implemented using a bash script or the above could directly be put in package.json then deployment could be made easier for NodeJs versions >=17

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions