-
-
Notifications
You must be signed in to change notification settings - Fork 900
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
Cant require('uuid') version 8.0.0 #433
Comments
I did: |
Can you provide detailed recipe? For example, something like this...
Be sure to include your node version. Distill down to simplest possible example that shows your issue. Thanks. |
@lnogueir Please update your node version. 13.5 is very old with incomplete es modules support. |
Duplicate of #428 |
After npm install uuid
When trying to require('uuid') version 8.0.0 I get:
internal/modules/cjs/loader.js:625
throw e;
^
Error: No valid exports main found for 'pathtomyproject/node_modules/uuid'
at resolveExportsTarget (internal/modules/cjs/loader.js:622:9)
at applyExports (internal/modules/cjs/loader.js:499:14)
at resolveExports (internal/modules/cjs/loader.js:548:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:654:22)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:953:27)
at Function.Module._load (internal/modules/cjs/loader.js:859:27)
at Module.require (internal/modules/cjs/loader.js:1028:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (line i do require('uuid'))
at Module._compile (internal/modules/cjs/loader.js:1139:30) {
code: 'MODULE_NOT_FOUND'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
The text was updated successfully, but these errors were encountered: