-
-
Notifications
You must be signed in to change notification settings - Fork 907
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
No valid exports main found for '...\node_modules\uuid' #428
Comments
What do you use to transpile es modules to commonjs? |
@ctavan FYI this is another way of providing exports |
I'm using just typescript. |
ts-node or tsc? |
This issue looks similar ai/nanoid#206 (comment) |
ts-node |
Check the link. Update to the latest node 13 |
Cool, thank you so much, that worked! |
FTR: We explicitly decided not to support early 13.x versions of Node.js where the |
Hi, is this resolved? |
Describe the bug
Just installed version "8.0.0" and I'm experiencing the following behavior
Trying to import the lib this way
import { v4 as uuidv4 } from "uuid";
and getting
No valid exports main found for '...\node_modules\uuid'
Rolling back to "7.0.3" it works fine.
Expected behavior
The lib should work fine.
Runtime
The text was updated successfully, but these errors were encountered: