Skip to content
New issue

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

Cannot start locally #410

Open
juratjan123 opened this issue Sep 12, 2024 · 2 comments
Open

Cannot start locally #410

juratjan123 opened this issue Sep 12, 2024 · 2 comments

Comments

@juratjan123
Copy link

Facing the problem and don't know why T_T

➜  rawgraphs-app-2.0.1 yarn start
yarn run v1.22.22
$ react-scripts start
ℹ 「wds」: Project is running at http://192.168.18.113/
ℹ 「wds」: webpack output is served from
ℹ 「wds」: Content not from webpack is served from /Users/jult/py/rawgraphs-app-2.0.1/public
ℹ 「wds」: 404s will fallback to /
Starting the development server...

/Users/jult/py/rawgraphs-app-2.0.1/node_modules/react-scripts/scripts/start.js:19
  throw err;
  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:79:19)
    at Object.createHash (node:crypto:139:10)
    at module.exports (/Users/jult/py/rawgraphs-app-2.0.1/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/Users/jult/py/rawgraphs-app-2.0.1/node_modules/webpack/lib/NormalModule.js:417:16)
    at /Users/jult/py/rawgraphs-app-2.0.1/node_modules/webpack/lib/NormalModule.js:452:10
    at /Users/jult/py/rawgraphs-app-2.0.1/node_modules/webpack/lib/NormalModule.js:323:13
    at /Users/jult/py/rawgraphs-app-2.0.1/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /Users/jult/py/rawgraphs-app-2.0.1/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/Users/jult/py/rawgraphs-app-2.0.1/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /Users/jult/py/rawgraphs-app-2.0.1/node_modules/react-scripts/node_modules/babel-loader/lib/index.js:59:103 {
  opensslErrorStack: [
    'error:03000086:digital envelope routines::initialization error',
    'error:0308010C:digital envelope routines::unsupported'
  ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v22.5.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@juratjan123
Copy link
Author

The Environment is M1 MacOS & Sonoma 14.6.1

@mikima
Copy link
Member

mikima commented Oct 16, 2024

Thanks. This issue seems related to using Yarn 2, and to the issue with openssl (linked to issue #397).

@bianchimro I imagine we should update the project to Yarn2 and to the latest SSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants