gatsby-gitbook-starter icon indicating copy to clipboard operation
gatsby-gitbook-starter copied to clipboard

node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

Open joshuacheong opened this issue 2 years ago • 3 comments

I am facing this issue. Any ideas to resolve will be appreciated. `$ npm start

[email protected] start NODE_OPTIONS=--openssl-legacy-provider gatsby develop

node: --openssl-legacy-provider is not allowed in NODE_OPTIONS`

joshuacheong avatar Aug 26 '22 07:08 joshuacheong

I ran into the same issue. After i updated all my dependencies I think that option is no longer needed. Try running gatsby directly with npx gatsby develop. This worked for me so I removed that option from the npm start script and it's working fine for me now.

Hope this helps

ajrequenez avatar Oct 08 '22 03:10 ajrequenez

In my case, i change package.json file. I delete NODE_OPTIONS=--openssl-legacy-provider option.

melonicedlatte avatar Oct 08 '22 13:10 melonicedlatte

Ok let me try that and see if it works. Will let you know.

joshuacheong avatar Oct 10 '22 08:10 joshuacheong