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

Unable to run dev with new node 18 on Mac #5961

Closed
1 task done
vikiival opened this issue May 14, 2023 · 10 comments
Closed
1 task done

Unable to run dev with new node 18 on Mac #5961

vikiival opened this issue May 14, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@vikiival
Copy link
Member

What happened?

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

Please reproduce in steps

To be able to build

Expected Behavior

~

What browsers are you seeing the problem on?

No response

At which address did you encounter bug?

No response

Are you logged in?

None

Which wallet you are using?

No response

At which chain did you encounter bug?

No response

Screenshots

Screenshot 2023-05-14 at 16 25 56

Relevant log output

No response

Payment link for reward

https://kodadot.xyz/transfer/?target=%3CMy_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address%3E

Code of Conduct

  • I agree to follow this project's Code of Conduct
@vikiival vikiival added the bug Something isn't working label May 14, 2023
@vikiival
Copy link
Member Author

It builds without that.

Screenshot 2023-05-14 at 16 29 50

cc @preschian ?

@preschian
Copy link
Member

It builds without that.

hhmm, let me open the PR to remove that. afaik in the pipelines will fail, so we need to add that env on github actions, netlify, and cf

@roiLeo
Copy link
Contributor

roiLeo commented May 15, 2023

Build ok for me on OSX

> nuxi prepare && cross-env NODE_OPTIONS=--openssl-legacy-provider PORT=9090 nuxi dev

Nuxi 3.0.0                                                                                                                                                              08:58:43
✔ Sentry reporting is enabled (client side: enabled, server side: enabled)                                                                                  nuxt:sentry 08:58:44
ℹ Production build                                                                                                                                                      08:58:44
ℹ Bundling only for client side                                                                                                                                         08:58:44
ℹ Target: static                                                                                                                                                        08:58:44
ℹ Using components loader to optimize imports                                                                                                                           08:58:44
ℹ Discovered Components: .nuxt/components/readme.md                                                                                                                     08:58:44
✔ Builder initialized                                                                                                                                                   08:58:44
✔ Nuxt files generated                                                                                                                                                  08:58:44
✔ Types generated in .nuxt                                                                                                                                              08:58:44

                                                                                                                                                                        08:59:27
✔ Client
  Compiled successfully in 40.76s
✔ Nitro built in 186 ms                                                                                                                                           nitro 08:59:34
ℹ Waiting for file changes

What's in boom-vuex-settings? 👀

@preschian
Copy link
Member

Build ok for me on OSX

interesting, does it fails in your local if remove openssl-legacy-provider env?

@roiLeo
Copy link
Contributor

roiLeo commented May 15, 2023

Build ok for me on OSX

interesting, does it fails in your local if remove openssl-legacy-provider env?

Yes, fail
ERROR [unhandledRejection] error:0308010C:digital envelope routines::unsupported

@roiLeo
Copy link
Contributor

roiLeo commented May 15, 2023

To update to node 18 I've just:

pnpm env use --global 18
pnpm add -g pnpm

@vikiival
Copy link
Member Author

What's in boom-vuex-settings? 👀

Research for #5979

@Jarsen136
Copy link
Contributor

Build ok for me too on OSX 👀
My node version is v18.16.0

image

@stephenjason89
Copy link
Contributor

stephenjason89 commented Aug 12, 2023

@vikiival i have the same issue on node 18.13
Upgrading to node 18.17 fixes it

#6651

@vikiival
Copy link
Member Author

@vikiival i have the same issue on node 18.13
Upgrading to node 18.17 fixes it

#6651

I use dev-experimental so we can close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants