-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
🐛 amazon-cognito-identity-js dependency unresolved #1062
Comments
This happens because parcel tries to load the module from Lines 220 to 224 in fc041d0
However, the IMO this is a bug from Parcel could try to see if the entry specified by "module" or "jsnext:main" exists or not first but I feel like that's not necessary. |
If you're going the extra mile, reporting the actual missing file (and why it was used) would be better than falling back to the first existing file, if that's what you meant. |
🐛 BUG
When using parcel in a react project that also uses aws-amplify, parcel fails to resolve the dependency for amazon-cognito-identity-js even though it is correctly placed in node_modules/ by yarn.
Here is a repository with a minimal setup to reproduce the problem: /~https://github.com/dfrkp/parcel-test
🤔 Expected Behavior
A bundle is created even if aws-amplify is used.
😯 Current Behavior
🌍 Environment
The text was updated successfully, but these errors were encountered: