-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Current behavior
It's unable to find the keys.development.json
Error: /some_app/node_modules/.pnpm/react-native-keys@0.7.11_react-native@0.80.0_@babel+core@7.27.4_@react-native-community_88198cbb29a359010e36f1811e417fc2/keys.development.json: ENOENT: no such file or directory, open '/some_app/node_modules/.pnpm/react-native-keys@0.7.11_react-native@0.80.0_@babel+core@7.27.4_@react-native-community_88198cbb29a359010e36f1811e417fc2/keys.development.json'
at Object.openSync (node:fs:562:18)
at Object.readFileSync (node:fs:446:35)
at Object.readFileSync (/some_app/node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js:50:22)
at module.exports.getKeys (/some_app/node_modules/.pnpm/react-native-keys@0.7.11_react-native@0.80.0_@babel+core@7.27.4_@react-native-community_88198cbb29a359010e36f1811e417fc2/node_modules/react-native-keys/src/util/common.js:62:23)
at makeAndroidJnuFiles (/some_app/node_modules/.pnpm/react-native-keys@0.7.11_react-native@0.80.0_@babel+core@7.27.4_@react-native-community_88198cbb29a359010e36f1811e417fc2/node_modules/react-native-keys/keysAndroid.js:19:19)
at Object.<anonymous> (/some_app/node_modules/.pnpm/react-native-keys@0.7.11_react-native@0.80.0_@babel+core@7.27.4_@react-native-community_88198cbb29a359010e36f1811e417fc2/node_modules/react-native-keys/keysAndroid.js:41:1)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/some_app/node_modules/.pnpm/react-native-keys@0.7.11_react-native@0.80.0_@babel+core@7.27.4_@react-native-community_88198cbb29a359010e36f1811e417fc2/keys.development.json'
}
I have this set into app/build.gradle
project.ext.keyFiles = [
debug: "keys.development.json",
// staging: "keys.staging.json",
// release: "$rootDir/../keys.release.json",
]
apply from: project(':react-native-keys').projectDir.getPath() + "/RNKeys.gradle"
* What went wrong:
A problem occurred evaluating project ':react-native-keys'.
> react-native-keys: unable to locate React Native android sources. Ensure you have you installed React Native as a dependency in your project and try again.
keys.development.json is at the same level as package.json
Expected behavior
To recognize the keys files.
Platform
- Android
React Native Version
0.80.0
React Native Compressor Version
Reproducible Steps And Demo
1- Install rn-keys
2- Setup based on description above
3- Run android
JerakRus
Metadata
Metadata
Assignees
Labels
No labels