Repository navigation
chore(deps-dev): bump react-native-test-app to 5.4.17 - #1263
Merged
Merged
Conversation
Supersedes #1238, which fails the Android build in `embedAppManifest`: SyntaxError: Named export 'Ajv' not found. The requested module 'ajv' is a CommonJS module react-native-test-app 5 does `import { Ajv } from "ajv"`, but only asks for `ajv: ^8.0.0`, so yarn kept the ajv 8.12.0 already in the lockfile. That version has no named `Ajv` export; later 8.x releases add one. Refresh ajv to 8.20.0 alongside the bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #1238.
Problem
#1238 (react-native-test-app 4.4.9 → 5.4.17) fails the Android build in
:app:embedAppManifest:react-native-test-app 5 does
import { Ajv } from "ajv"but declares onlyajv: ^8.0.0, so yarn kept the ajv 8.12.0 already in the lockfile. That version has no namedAjvexport; later 8.x releases add one.Change
react-native-test-app:^4.4.9→^5.4.17(same as chore(deps-dev): bump react-native-test-app from 4.4.9 to 5.4.17 #1238)yarn up -R ajv: 8.12.0 → 8.20.0React Native stays at 0.81. rnta 5 supports
0.76 - 0.88. This is also the prerequisite for #1249 (RN 0.88), since rnta 4 only goes up to RN 0.82.Verification
import { Ajv } from "ajv"now resolves, and rnta's embed-manifest step (the one that failed) completes for the example app.🤖 Generated with Claude Code