GithubHelp home page GithubHelp logo

Comments (9)

websam101 avatar websam101 commented on August 10, 2024 1

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.

Andres22-sys avatar Andres22-sys commented on August 10, 2024

I have the same issue, I've been trying to figure it out for about a day!!!

from portfolio_website.

zakjanzi avatar zakjanzi commented on August 10, 2024

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.

kewlkarthik avatar kewlkarthik commented on August 10, 2024

I have the same issue :(

from portfolio_website.

turtlelord-17 avatar turtlelord-17 commented on August 10, 2024

same issue. cant move on with the project.

from portfolio_website.

AJ-KUSHWAH avatar AJ-KUSHWAH commented on August 10, 2024

same issue is arising with me.

from portfolio_website.

kevinbism avatar kevinbism commented on August 10, 2024

I resolved upgrading the nextjs version. Try it. It works for me.

from portfolio_website.

leanhvu21042001 avatar leanhvu21042001 commented on August 10, 2024

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.

markogra avatar markogra commented on August 10, 2024

@websam101 Thanks, works well for windows

from portfolio_website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.