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

Better instructions? #7

Open
chaoscreater opened this issue Jul 12, 2023 · 0 comments
Open

Better instructions? #7

chaoscreater opened this issue Jul 12, 2023 · 0 comments

Comments

@chaoscreater
Copy link

chaoscreater commented Jul 12, 2023

Could you please update the instructions? For example, there is no index.js in the server directory and so I can do npm install in there.

I ran npm start from the client folder and it seems to be starting the server, so I'm a bit confused about why there's an instruction for running npm i in the server folder.

Anyway, this is the error I got:

Starting the development server...

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\util\createHash.js:135:53)
    at NormalModule._initBuildHash (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:417:16)
    at handleParseError (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:471:10)
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:503:5
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:358:12
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\loader-runner\lib\LoaderRunner.js:373:3
    at iterateNormalLoaders (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
    at iterateNormalLoaders (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\react-scripts\scripts\start.js:19
  throw err;
  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\util\createHash.js:135:53)
    at NormalModule._initBuildHash (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:417:16)
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:452:10
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\webpack\lib\NormalModule.js:323:13
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\loader-runner\lib\LoaderRunner.js:367:11
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\loader-runner\lib\LoaderRunner.js:233:18
    at context.callback (C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
    at C:\Users\Ricky\1. Github Projects\TLDWrite\client\node_modules\babel-loader\lib\index.js:59:103 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

I had to add this to the package.json in order to fix the issue (this is on Windows btw):

"start": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts start"

source:
https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported

And now I'm getting this:

image

Also, it seems that this requires Python v3.9 and not anything higher. The total size of the Python project folder is about 7.16GB and that's a bit ridiculous considering what other projects can achieve with less size.

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

1 participant