Closed ryanhollander closed 2 years ago
Hey @ryanhollander , try setting
'prettier/prettier': [
'error',
{
'endOfLine': 'auto',
}
]
inside the rules object of the eslintrc file ,i.e., in packages/aws-amplify-react-native/.eslintrc.js
@nilisha-jais - Thank you, you are a superstar, that fixed it!
on second thought... seems like this might be a bug that should be fixed in the main branch?
Just tested the build on Mac with the listed global dependencies, with no issue. Trying on Windows now.
Was able to reproduce this on Windows as well, working on a PR now.
I have a PR out to fix the build for Windows. In the meantime, the workaround mentioned by @nilisha-jais can unblock developers that are building with Windows machines. Thanks for this, @nilisha-jais!
@ryanhollander - the PR has been merged. You can now fetch the upstream on your cloned repo, and the build should succeed. Thanks!
@david-mcafee Thank you for the quick action. Have a great weekend!
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 *-help
channels or Discussions for those types of questions.
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Describe the bug
I'm trying to build and test using the contributor instructions (yarn; yarn bootstrap; yarn build;). The build fails. I think this is because the yarn step is not installing everything because dependency issues, maybe? Not sure.
Expected behavior
The build succeeds and I can run the tests and build / debug.
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response