Resolving a Node.js Error Related to Cryptographic Algorithms

Resolving a Node.js Error Related to Cryptographic Algorithms

Error: error:0308010C:digital envelope routines::unsupported This is usually because Node.js is attempting to use an unsupported cryptographic algorithm or option. Solution: 1. Roll back to a lower, compatible version. 2. Add the following statement to the startup command (Windows): # Before modification: "dev": "cross-env PATH_TYPE=dev nuxt",# After modification: "dev": "SET NODE_OPTIONS=–openssl-legacy-provider && cross-env PATH_TYPE=dev nuxt", There … Read more