The Prompt BakeryTemplates and prompts

Fix · Node, npm and build

error:0308010C:digital envelope routines (ERR_OSSL_EVP_UNSUPPORTED)

What you may see

  • An older project fails to start on a new Node

Most likely cause

An old build tool uses a hashing method that new Node versions switched off.

Check first (about two minutes)

  1. Run node -v: is it a new version (17 or higher) with an old project?

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Check the age of the build tool in package.json (old webpack or react-scripts).
  2. Best fix: upgrade the build tool to a current version, with my approval and a test. Quick fix for now: run with the older Node version the project was built for.
  3. Only as a last resort explain the legacy option and its risk.

Do not do this

  • Do not leave the legacy flag in production scripts forever.
  • Do not rewrite the project to a new framework.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.