flexn-io/renative

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

jonathandion opened this issue · 1 comments

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/template-starter@1.7.0 --dev
✔ Executing: yarn add @rnv/config-templates@1.7.0 --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/overrides@12.3.6.json
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/overrides@12.3.6.json
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/overrides@12.3.6.json
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/overrides@12.3.6.json
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/overrides@12.3.6.json
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/overrides@12.3.6.json
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 Thanks for reporting this issue, it will be checked