No valid exports main found for '...\node_modules\uuid'
See original GitHub issueDescribe 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
- OS: Windows
- Runtime: Node.js
- Runtime Version: 13.5
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
No valid exports main found for node_modules\uuid #5381
Hi, I just updated my project using npm -update @loopback/cli and lb4 update. No errors on build but when I start I get...
Read more >How to fix “Error: No valid exports main found for ... - Dev Genius
The solution. After some digging around, I found the suggestion to update to Node 14.5. There are many ways to do this; I...
Read more >Error: No valid exports main found for '/usr/local/lib ...
I execute sls uninstall to try undeploy, but a lost the command line. when a Execute serverless --version I see: Error: No valid...
Read more >Error: No valid exports main found for (Module path)
I managed to fix the problem. Uninstall NodeJS, NPM and NVM | Here is how on Mac OS How do I completely uninstall...
Read more >How to fix “Error: No valid exports main found ... - Godwill Barasa
How to fix “Error: No valid exports main found for '/node_modules/packname by Godwill Barasa. Turns out I was running V. 10, yet the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool, thank you so much, that worked!
See https://github.com/release-it/release-it/issues/674#issuecomment-641955575