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

dotenv_config.js?v=f92e931e:399 Uncaught TypeError: Cannot read properties of undefined (reading 'DOTENV_CONFIG_ENCODING') #844

Open
ccfiel opened this issue Oct 20, 2024 · 1 comment

Comments

@ccfiel
Copy link

ccfiel commented Oct 20, 2024

When I put import 'dotenv/config', this error will occur. Any idea how to resolve this issue?

package version: "dotenv": "^16.4.5",
node version: v20.9.0
app: react
os: `macOS 15.0.11

SCR-20241020-pqrf

@motdotla
Copy link
Owner

this looks like something unique to your machine @ccfiel. maybe try swapping in dotenvx instead? it has better debugging.

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

2 participants