We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error
npm run build Gridsome v0.7.23 Initializing plugins... Load sources - 0s Create GraphQL schema - 0.05s Create pages and templates - 0.07s Generate temporary code - 0.04s Bootstrap finish - 0.72s Error: assets/js/styles.b8185833.js from Terser Error: error:0308010C:digital envelope routines::unsupported
package.json
"scripts": { "develop": "gridsome develop", "build": "gridsome build", "explore": "gridsome explore" }, "dependencies": { "bootstrap": "^5.3.2", "gridsome": "^0.7.0" }, "engines": { "nvm": "20", "node": "^20" }
I'm using nodejs v20
It works on dev v16 and v20, but the build is successful on node v16 and fails on node v20.
The text was updated successfully, but these errors were encountered:
Same here. The Readme in the repo root says "this project is under active development" but the last commit was 2 years ago. Looks abandoned to me :-(
Sorry, something went wrong.
Add the node parameter NODE_OPTIONS=--openssl-legacy-provider to your build/run command. So NODE_OPTIONS=--openssl-legacy-provider gridsome build.
NODE_OPTIONS=--openssl-legacy-provider
NODE_OPTIONS=--openssl-legacy-provider gridsome build
Worked for me on my local machine.
No branches or pull requests
Description
Build error
package.json
Environment
I'm using nodejs v20
Issue
It works on dev v16 and v20, but the build is successful on node v16 and fails on node v20.
The text was updated successfully, but these errors were encountered: