react-native-dotenv icon indicating copy to clipboard operation
react-native-dotenv copied to clipboard

Set node version requirement

Open IgorNadj opened this issue 1 year ago • 2 comments

Node 18 introduces prefix-only node packages, e.g. node:path. Using this package on Node 18+ results in errors because the imports cannot be resolved.

See https://stateful.com/blog/node-18-prefix-only-modules and the previous attempt to introduce this https://github.com/goatandsheep/react-native-dotenv/pull/399

I suggest creating a 4. version of this package that supports 18+ as a solution which covers all node versions.

Link to issue

Small enough I thought it doesn't need it

IgorNadj avatar Oct 16 '23 23:10 IgorNadj

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 31 '23 18:12 stale[bot]

Unfortunately I tried this and it caused a lot of issues so I reverted. The paths not being resolved is likely not an issue with the way the library is built. I'm happy however to help you with your bug. Please share code

goatandsheep avatar Feb 08 '24 22:02 goatandsheep