storyblok / storyblok-fieldtype

Tool for creating custom fieldtypes for Storyblok with babel, browserify and hotreload
12 stars 13 forks source link

Use legacy Openssl provider #22

Closed hu0p closed 1 year ago

hu0p commented 1 year ago

Node v18 introduced a backwards incompatible change for this boilerplate's dependencies. This flag instructs Node to use the legacy OpenSSL provider for newer versions of Node as a workaround until someone is available to update this project's dependencies.

This closes #14.

SebbeJohansson commented 1 year ago

I think this is a dangerous assumption (assuming that node v18 is used) given that vue2 has lowest requirement on node v16. https://github.com/storyblok/storyblok-fieldtype/pull/22

hu0p commented 1 year ago

Ah, I see. I threw this together too hastily. I was unaware that node fails, rather than ignores, invalid options. I was hoping that this would be a temporary patch until updates were sorted that would enable v16, v18, and beyond to work.

I'm good to close this unless we can find a conditional workaround. Thank you for taking the time to explain!