Skip to content
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

Building warning: Missing undefined key for undefined platform in your ./appConfigs/app/renative.json. #1826

Open
jonathandion opened this issue Dec 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jonathandion
Copy link
Contributor

jonathandion commented Dec 12, 2024

When creating a new project with npx nrv new and selecting the platforms tizen, webos only and then running npx nrv build I have the following warning Missing undefined key for undefined platform in your ./appConfigs/app/renative.json.

To Reproduce

Create a new project:

? What workspace to use? rnv
? What template to use? @rnv/template-starter - Multiplatform 'hello world' template
✔ Executing: npm view @rnv/template-starter versions
✔ Executing: npm dist-tag ls @rnv/template-starter
? What @rnv/template-starter version to use? 1.7.0 (@latest)
✔ Executing: yarn add @rnv/[email protected] --dev
✔ Executing: yarn add @rnv/[email protected] --dev
? How to create config renative.json? Extend template (cleaner, overridable)
? What's your project Title? My Renative App
? What's your App ID? com.mycompany.hellorenative
? What's your project version? 0.1.0
? What platforms would you like to use? tizen, webos
? Do you want to set-up git in your new project? Yes

then build the project:

│ $ npx rnv build                                                 │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn-web (./node_modules/@rnv/engine-rn-web)
task: ○ build ↺1
info: Build hooks not complied. BUILDING...
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
info: Creating folder ./platformBuilds ...DONE
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
info: Found only one app config available. Will use app
info: Current app config: app
task: ✔ app configure
info: ./node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ./node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ./node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ./node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ./node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ./node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ./node_modules/@react-native-community/cli/build/bin.js overridden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
task: ✔ project configure
warn: ○ platform configure: Missing undefined key for undefined platform in your ./appConfigs/app/renative.json.
? Pick a platform for task: "rnv build" (Use arrow keys)
❯ tizen
  webos

Expected Behavior

The project should configure and build for the selected platforms (tizen, webos) without warnings or errors.

Environment

  • OS: Mac OS 14.4.1
  • Node Version v20.9.0
  • RNV Version 1.7.0
@jonathandion jonathandion added the bug Something isn't working label Dec 12, 2024
@GabrieleKaceviciute
Copy link
Collaborator

@jonathandion Thanks for reporting this issue, it will be checked

@Marius456 Marius456 added this to the 1.10 milestone Dec 16, 2024
@ElenaDiachenko ElenaDiachenko self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants