Comments (9)
For those who is still having this issue, you can just modify the package.json
file.
Linux:
"scripts": {
"dev": "export NODE_OPTIONS=--openssl-legacy-provider && next dev",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && next export",
"start": "export NODE_OPTIONS=--openssl-legacy-provider && next start"
},
Windows:
"scripts": {
"dev": "set NODE_OPTIONS=--openssl-legacy-provider && next dev",
"build": "set NODE_OPTIONS=--openssl-legacy-provider && next export",
"start": "set NODE_OPTIONS=--openssl-legacy-provider && next start"
},
or by adding cross-env npm install cross-env
"scripts": {
"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider && next dev",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider && next export",
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider && next start"
},
from portfolio_website.
I have the same issue, I've been trying to figure it out for about a day!!!
from portfolio_website.
I got this same issue when I first cloned the site and wanted to run it locally. Turns out this is a node version issue.
This helped me understand and solve this problem: https://itsmycode.com/error-digital-envelope-routines-unsupported/
(Although it might not be best practice, so take it with a grain of salt).
from portfolio_website.
I have the same issue :(
from portfolio_website.
same issue. cant move on with the project.
from portfolio_website.
same issue is arising with me.
from portfolio_website.
I resolved upgrading the nextjs version. Try it. It works for me.
from portfolio_website.
I have fixed it.
Just change your node-version.
Change to node version 16, it should work well on that version
You can use NVM
from portfolio_website.
@websam101 Thanks, works well for windows
from portfolio_website.
Related Issues (20)
- npm ERR! Missing script: "test" HOT 1
- Live demo link is broken HOT 2
- Tags in project card going out of card
- Links do not work after building HOT 2
- Error: Could not find a production build in the '/Users/dmitriymalayev/Desktop/portfolio_website-STARTER/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id HOT 4
- <Button> that opens to a new Tab HOT 1
- blank screen page after sign in with goolgle
- Live preview unavailable
- Hero section Button not working
- Not supported HOT 1
- Contact form gets submitted even if all the fields are empty HOT 4
- > Contact form gets submitted even if all the fields are empty, that is not a great user experience. It would be better if there were snackbars raising empty fields issue. HOT 1
- The package.json file is a configuration file that contains important metadata about your project, including the project name, version number, and dependencies. HOT 1
- Invalid hook call. Hooks can only be called inside of the body of a function component HOT 2
- A trede and investing
- NPM install failed
- this error occurs when i start the react app
- Hi HOT 1
- It was seem the doc can be cpmpiled. But there was no content by "Internal Server Error" on the broswer. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portfolio_website.