-
Notifications
You must be signed in to change notification settings - Fork 1
Bug Report
dylanlewis12 edited this page Dec 1, 2024
·
8 revisions
- What went wrong:
- Could not determine the dependencies of task ':app:processDebugResources'.
- Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
- Reinstalled npm packages
npm uninstall @rnmapbox/maps npm install @rnmapbox/maps
- What went wrong:
- Current branch was way out of sync with the main branch, I needed to update my code
- I used Git commands to rebase:
git checkout main git pull origin main git checkout <branch-name> git reset --hard origin/main
- What went wrong:
- The API key wasn't named correctly
- Key was not stored correctly
- Named the key correctly and stored it correctly:
mapboxgl.accessToken = process.env.REACT_APP_MAPBOX_ACCESS_KEY; REACT_APP_MAPBOX_ACCESS_KEY=...
- What went wrong:
- Adding a trip in the setup.js resulted in an alert error in the try/catch block even though the post call went through.
- The error was caused by the incorrect model and app being referenced in the signals.py file in UserAchievements. Achievement = apps.get_model('UserAchievements', 'Achievement') UserAchievement = apps.get_model('UserAchievements', 'UserAchievement')
- What went wrong:
- POST and GET requests could not be performed.
- The imports for the files in UserAchievements were referencing the wrong app so they were corrected. from UserAchievements.models import Achievement, UserAchievement
- What went wrong:
- Logged in users could not create trips.
- The code for the Setup.js file was modified to better handle storing and refreshing the tokens.