-
Notifications
You must be signed in to change notification settings - Fork 825
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
Generating REST API and Function via Amplify Add API results in naming collision #1144
Comments
Hello, I have the same issue: (node:39314) UnhandledPromiseRejectionWarning: Error: jest-haste-map: Haste module naming collision: with the following services added
Any particular solution? |
Yeah a turns out you have to exclude one of the directories from the bundler - Fix is here: amazon-archives/awsmobile-cli#172 (comment) |
we encountered this issue on a react-native ^0.61.x project after a
and restarting the process |
I have the exact same issue but sadly the above solution didn't work for me :( The error message: Loading dependency graph...(node:18727) UnhandledPromiseRejectionWarning: Error: jest-haste-map: Haste module naming collision: I am also using react native 0.59, but just recently upgraded to 0.61.5 Any suggestions on the problem? |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
When generating a REST API via the
amplify add api
command, the packager cannot be run again due to the following error:To Reproduce
Steps to reproduce the behaviour:
ampify add api
, select REST, edit lambda function and thenamplify push
yarn start
to start packagerExpected behavior
Packager would start normally
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
AWS Amplify: 0.1.43 (the result of amplify version command)
node.js version: v10.1.0
The text was updated successfully, but these errors were encountered: