Skip to content

Commit

Permalink
Merge pull request #22 from skirtles-code/old-webpack
Browse files Browse the repository at this point in the history
Clarify the wording on how to run an old webpack project
  • Loading branch information
skirtles-code authored Sep 28, 2023
2 parents d37b162 + 67fb24e commit 38ff052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/faq/running-old-projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This includes Vue CLI projects, especially those on version 4.

This is caused by Node and OpenSSL trying to keep up with the latest security best practices, but older dependencies can't retrospectively comply with the new standards.

Your options are:
Upgrading webpack would fix the problem, but it usually isn't practical if you just want to get an old project running. You've got two alternative solutions to choose from:

- Use an older version of Node.
- Set the `NODE_OPTIONS` environment variable to `--openssl-legacy-provider`. Typically, that'll be using either `SET NODE_OPTIONS=--openssl-legacy-provider` or `export NODE_OPTIONS=--openssl-legacy-provider`, depending on your operating system.
Expand Down

0 comments on commit 38ff052

Please sign in to comment.