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

Named export 'parse' not found since 14.3.0 #604

Closed
adriaanmeuris opened this issue Jan 25, 2022 · 3 comments
Closed

Named export 'parse' not found since 14.3.0 #604

adriaanmeuris opened this issue Jan 25, 2022 · 3 comments

Comments

@adriaanmeuris
Copy link

Importing the parse method in an ESM environment worked fine in 14.2.0:

import { parse as parseDotEnv } from 'dotenv';

Since 14.3.0 this results in error Named export 'parse' not found.

@motdotla
Copy link
Owner

Investigating this.

@JeromeFitz
Copy link
Contributor

Investigating this.

@motdotla I shared some investigation in #605 and a potential patch in #606

Thanks for sharing and providing details @adriaanmeuris

@motdotla
Copy link
Owner

Fixed in 14.3.1. https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md#1431-2022-01-25

thanks goes to @JeromeFitz. Thanks again!

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

3 participants