gridsome error:03000086:digital envelope routines::initialization error

When starting a gridsome project on Ubuntu 20.04 with Node.js version v18.10.0, it failed with the error message “error:03000086:digital envelope routines::initialization error”.

To fix the error, use the command

To make it permanent, you can edit the package.json file in the root directory of your gridsome project

Find

Replace with

Now use

Or

Instead of the “gridsome develop” command.

Back to Node.js

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *