flexn-io / renative

πŸš€πŸš€πŸš€ Unified Development Platform for iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms

Home Page:https://renative.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[macos, tizen, webos] run fails on new project

GabrieleKaceviciute opened this issue Β· comments

Describe the bug
Macos run fails on new project (three different ways)

To Reproduce
First way:

  1. Install rnv via npm
  2. Create new project
  3. Do npx rnv run -p macos -> error

Expected behavior
app is built and launched on desktop

Screenshots or copy&paste

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ βœ” SUMMARY | 4/11/2024, 10:15:01 AM | rnv@1.0.0-rc.16            β”‚
β”‚ $ rnv new                                                       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: zxc@0.1.0                                              β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Engine: engine-core                                             β”‚
β”‚ Template: @rnv/template-starter                                 β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:0m:47s:718ms                                  β”‚
β”‚
  Generated Project Summary:
  -------------------------
  Project Name (--projectName): zxc
  Package name: zxc
  Project Version (--appVersion): 0.1.0
  Workspace (--workspace): rnv
  App Title (--title): zxc
  App ID (--id): com.mycompany.zxc
  Project Template (--template): @rnv/template-starter@1.0.0-rc.16
  Git Enabled (--gitEnabled): true
  Enabled Platforms: web, ios, android, androidtv, firetv, tvos, macos, linux, tizen, webos, chromecast, kaios, androidwear, tizenwatch
  -------------------------
  βœ” Your project is ready! Run it with:

  cd zxc
  npx rnv run
β”‚ You are trying to run global rnv command in your current project.
β”‚ This might lead to unexpected behaviour.
β”‚ Run your rnv command with npx prefix:
β”‚ npx rnv new
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
➜  rnv_new cd zxc
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /Users/gabriele/Desktop/rnv_new/zxc/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

Unknown ruby interpreter version (do not know how to handle): >=2.6.10.
➜  zxc git:(master) βœ— npx rnv run -p macos

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• β”‚
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•   β”‚
β”‚ β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β•β•šβ•β•  β•šβ•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•β•  β•šβ•β•β•β•β•β•β• β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
info: Some engines not installed in your project:
> @rnv/engine-rn-next@1.0.0-rc.16
> @rnv/engine-rn@1.0.0-rc.16
> @rnv/engine-rn-tvos@1.0.0-rc.16
> @rnv/engine-rn-electron@1.0.0-rc.16
> @rnv/engine-rn-web@1.0.0-rc.16
 ADDING TO PACKAGE.JSON...DONE
βœ” Executing: yarn
error: β¨―  Error: Cannot find module '/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/engine-rn-electron'
Require stack:
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/src/engines/index.ts:517:21
    at step (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:193:27)
    at Object.next (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:174:57)
    at /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:167:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:163:16)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β¨― SUMMARY | 4/11/2024, 10:16:29 AM | rnv@                       β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: zxc@0.1.0                                              β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Platform (-p): macos                                            β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:0m:42s:993ms                                  β”‚
β”‚ error: β¨―  Error: Cannot find module '/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/engine-rn-electron'
Require stack:
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/src/engines/index.ts:517:21
    at step (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:193:27)
    at Object.next (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:174:57)
    at /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:167:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:163:16)

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Cannot find module '/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/engine-rn-electron'
Require stack:
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/src/engines/index.ts:517:21
    at step (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:193:27)
    at Object.next (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:174:57)
    at /Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:167:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/gabriele/Desktop/rnv_new/zxc/node_modules/@rnv/core/node_modules/tslib/tslib.js:163:16)
➜  zxc git:(master) βœ—

Second way:

  1. Create new project
  2. Do npx rnv run -> error
  3. Repeat npx rnv run and choose macos
➜  macos git:(master) βœ— npx rnv run

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• β”‚
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•   β”‚
β”‚ β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β•β•šβ•β•  β•šβ•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•β•  β•šβ•β•β•β•β•β•β• β”‚
β”‚ $ npx rnv run                                                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
? Pick a platform for task: "rnv run" macos
info: Current platform: macos
info: Current engine: engine-rn (./node_modules/@rnv/engine-rn)
task: β—‹ run β†Ί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
warn: β—‹ project configure: Updates to package.json are required:
- raf (N/A) => (3.4.1) Missing dependency for platform tizen | engine.npm (@rnv/engine-rn-web)

? What to do? Update package and install (recommended)
βœ” Executing: yarn
task: β—‹ app configure β†Ί1
info: Found only one app config available. Will use app
info: Current app config: app
task: βœ” app configure
task: βœ” project configure
info: Current Build Scheme: debug
warn: β—‹ platform configure: Updates to package.json are required:
- react (N/A) => (18.2.0) Missing dependency | plugin (renative.json)
- react-art (N/A) => (18.2.0) Missing dependency | plugin (renative.json)
- react-dom (N/A) => (18.2.0) Missing dependency | plugin (renative.json)
- react-native (N/A) => (0.73.4) Missing dependency | plugin (renative.json)
- @rnv/renative (N/A) => (1.0.0-rc.16) Missing dependency | plugin (renative.json)
- react-native-gesture-handler (N/A) => (2.14.1) Missing dependency | plugin (renative.json)
- react-native-web (N/A) => (0.19.9) Missing dependency | plugin (renative.json)

? What to do? Update package and install (recommended)
βœ” Executing: yarn
info: βœ” /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
info: βœ” /@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
task: βœ” platform configure
info: Found custom assetSources at ./node_modules/@flexn/assets-renative-outline/assets/macos. Will be used to generate assets.
error: β¨― β—‹ configure: Cannot write file. source path doesn't exist: /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn/templates/platforms/macos/RNVApp/AppDelegate.mm
error: β¨― β—‹ configure: Cannot write file. source path doesn't exist: /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn/templates/platforms/macos/RNVApp/AppDelegate.h
info: Podfile.lock does not exist. Will execute pod actions...
βœ” Executing: bundle install
βœ– FAILED: bundle exec pod install
error: β¨― β—‹ configure: COMMAND:

bundle exec pod install

FAILED with ERROR:

[!] Invalid `Podfile` file: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_SOURCES}}
 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:4: syntax error, unexpected '}', expecting =>
{{PLUGIN_WARNINGS}}
 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:46: syntax error, unexpected '}', expecting =>
{{PLUGIN_PATHS}}
 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:57: syntax error, unexpected '}', expecting =>
... = [{{PLUGIN_STATIC_FRAMEWORKS}}]
... ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:61: syntax error, unexpected '}', expecting =>
...IN_STATIC_POD_EXTRA_CONDITIONS}}
... ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:66: syntax error, unexpected '}', expecting =>
...{{PLUGIN_STATIC_POD_DEFINITION}}
... ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:97: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_INJECT}}
 ^
.
 # from /Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:1
 # -------------------------------------------

Error: Command failed with exit code 1: bundle exec pod install

[!] Invalid `Podfile` file: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_SOURCES}}
                        ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:4: syntax error, unexpected '}', expecting =>
{{PLUGIN_WARNINGS}}
                 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:46: syntax error, unexpected '}', expecting =>
{{PLUGIN_PATHS}}
              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:57: syntax error, unexpected '}', expecting =>
... = [{{PLUGIN_STATIC_FRAMEWORKS}}]
...                              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:61: syntax error, unexpected '}', expecting =>
...IN_STATIC_POD_EXTRA_CONDITIONS}}
...                              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:66: syntax error, unexpected '}', expecting =>
...{{PLUGIN_STATIC_POD_DEFINITION}}
...                              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:97: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_INJECT}}
                       ^
.

 #  from /Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:1
 #  -------------------------------------------
 >  {{PLUGIN_PODFILE_SOURCES}}
 #  platform :ios, '15.0'
 #  -------------------------------------------
    at makeError (/Users/gabriele/Desktop/rnv_new/macos/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/rnv_new/macos/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β¨― SUMMARY | 4/11/2024, 10:36:12 AM | rnv@                       β”‚
β”‚ $ npx rnv run                                                   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: macos@0.1.0                                            β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Platform (-p): macos                                            β”‚
β”‚ Engine: engine-rn                                               β”‚
β”‚ Template: @rnv/template-starter                                 β”‚
β”‚ App Config (-c): app                                            β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Supported Platforms: web, ios, android, androidtv, firetv, tvos, macos, linux, tizen, webos, chromecast, kaios, androidwear, tizenwatch
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:0m:42s:494ms                                  β”‚
β”‚ warn: β—‹ project configure: Updates to package.json are required:
β”‚ warn: β—‹ platform configure: Updates to package.json are required:
β”‚ info: βœ” /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
β”‚ info: βœ” /@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
β”‚ error: β¨― β—‹ configure: Cannot write file. source path doesn't exist: /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn/templates/platforms/macos/RNVApp/AppDelegate.mm
β”‚ error: β¨― β—‹ configure: Cannot write file. source path doesn't exist: /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn/templates/platforms/macos/RNVApp/AppDelegate.h
β”‚ error: β¨― β—‹ configure: COMMAND:

bundle exec pod install

FAILED with ERROR:

[!] Invalid `Podfile` file: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_SOURCES}}
 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:4: syntax error, unexpected '}', expecting =>
{{PLUGIN_WARNINGS}}
 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:46: syntax error, unexpected '}', expecting =>
{{PLUGIN_PATHS}}
 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:57: syntax error, unexpected '}', expecting =>
... = [{{PLUGIN_STATIC_FRAMEWORKS}}]
... ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:61: syntax error, unexpected '}', expecting =>
...IN_STATIC_POD_EXTRA_CONDITIONS}}
... ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:66: syntax error, unexpected '}', expecting =>
...{{PLUGIN_STATIC_POD_DEFINITION}}
... ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:97: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_INJECT}}
 ^
.
 # from /Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:1
 # -------------------------------------------

Error: Command failed with exit code 1: bundle exec pod install

[!] Invalid `Podfile` file: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_SOURCES}}
                        ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:4: syntax error, unexpected '}', expecting =>
{{PLUGIN_WARNINGS}}
                 ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:46: syntax error, unexpected '}', expecting =>
{{PLUGIN_PATHS}}
              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:57: syntax error, unexpected '}', expecting =>
... = [{{PLUGIN_STATIC_FRAMEWORKS}}]
...                              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:61: syntax error, unexpected '}', expecting =>
...IN_STATIC_POD_EXTRA_CONDITIONS}}
...                              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:66: syntax error, unexpected '}', expecting =>
...{{PLUGIN_STATIC_POD_DEFINITION}}
...                              ^
/Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:97: syntax error, unexpected '}', expecting =>
{{PLUGIN_PODFILE_INJECT}}
                       ^
.

 #  from /Users/gabriele/Desktop/rnv_new/macos/platformBuilds/app_macos/Podfile:1
 #  -------------------------------------------
 >  {{PLUGIN_PODFILE_SOURCES}}
 #  platform :ios, '15.0'
 #  -------------------------------------------
    at makeError (/Users/gabriele/Desktop/rnv_new/macos/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/rnv_new/macos/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


β”‚ Project location: ./platformBuilds/app_macos/RNVApp.xcworkspace β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
➜  macos git:(master)

Third way:

  1. Repeat all steps on Second way
  2. Do npx rnv run -p macos -> error
➜  macos git:(master) βœ— npx rnv run -p macos

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• β”‚
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•   β”‚
β”‚ β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β•β•šβ•β•  β•šβ•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•β•  β•šβ•β•β•β•β•β•β• β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
info: Current engine: engine-rn-electron (./node_modules/@rnv/engine-rn-electron)
task: β—‹ run β†Ί1
task: β—‹ configure β†Ί1
task: β—‹ platform configure β†Ί1
task: β—‹ project configure β†Ί1
task: β—‹ workspace configure β†Ί1
task: βœ” workspace configure
task: β—‹ app configure β†Ί1
info: Current app config: app
task: βœ” app configure
info: ./node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json
info: ./node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
task: βœ” project configure
info: Current Build Scheme: debug
task: βœ” platform configure
info: Found custom assetSources at ./node_modules/@flexn/assets-renative-outline/assets/macos. Will be used to generate assets.
task: βœ” configure
info: Your macos devServer at port 8086 is not running. Starting it up for you...
info: Your macos devServerHost 127.0.0.1 at port 8086 is not running. Starting it up for you...
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ βœ” BUNDLER STARTED | 4/11/2024, 10:38:32 AM | rnv@               β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: macos@0.1.0                                            β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Platform (-p): macos                                            β”‚
β”‚ Engine: engine-rn-electron                                      β”‚
β”‚ Template: @rnv/template-starter                                 β”‚
β”‚ App Config (-c): app                                            β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Supported Platforms: web, ios, android, androidtv, firetv, tvos, macos, linux, tizen, webos, chromecast, kaios, androidwear, tizenwatch
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:0m:0s:235ms                                   β”‚
β”‚ Project location: ./platformBuilds/app_macos                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
error: β¨― β—‹ run: Error: Cannot find module 'babel-loader'
Require stack:
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/lib/config/webpack.config.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/lib/scripts/start.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn-electron/lib/sdk/runner.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn-electron/lib/tasks/taskBuild.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn-electron/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.resolve (node:internal/modules/helpers:188:19)
    at module.exports (/Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/src/config/webpack.config.js:390:45)
    at Object.<anonymous> (/Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/src/scripts/start.js:29:67)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β¨― SUMMARY | 4/11/2024, 10:38:32 AM | rnv@                       β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: macos@0.1.0                                            β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Platform (-p): macos                                            β”‚
β”‚ Engine: engine-rn-electron                                      β”‚
β”‚ Template: @rnv/template-starter                                 β”‚
β”‚ App Config (-c): app                                            β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Supported Platforms: web, ios, android, androidtv, firetv, tvos, macos, linux, tizen, webos, chromecast, kaios, androidwear, tizenwatch
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:0m:1s:16ms                                    β”‚
β”‚ error: β¨― β—‹ run: Error: Cannot find module 'babel-loader'
Require stack:
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/lib/config/webpack.config.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/lib/scripts/start.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn-electron/lib/sdk/runner.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn-electron/lib/tasks/taskBuild.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/engine-rn-electron/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.resolve (node:internal/modules/helpers:188:19)
    at module.exports (/Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/src/config/webpack.config.js:390:45)
    at Object.<anonymous> (/Users/gabriele/Desktop/rnv_new/macos/node_modules/@rnv/sdk-webpack/src/scripts/start.js:29:67)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)

β”‚ Project location: ./platformBuilds/app_macos                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
➜  macos git:(master) βœ—

Desktop (please complete the following information):

  • OS: macOS Ventura 13.6.4 (M2)
  • Node Version 18.19.0
  • RNV Version 1.0.0-rc.16
  • @rnv/template-starter 1.0.0-rc.16

1.0.0-rc.18

  • First way different error ->
➜  macos git:(master) βœ— npx rnv run -p macos

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• β”‚
β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β”‚
β”‚ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•   β”‚
β”‚ β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β”‚
β”‚ β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β•β•šβ•β•  β•šβ•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•β•  β•šβ•β•β•β•β•β•β• β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
info: Some engines not installed in your project:
> @rnv/engine-rn-next@1.0.0-rc.18
> @rnv/engine-rn@1.0.0-rc.18
> @rnv/engine-rn-tvos@1.0.0-rc.18
> @rnv/engine-rn-electron@1.0.0-rc.18
> @rnv/engine-rn-web@1.0.0-rc.18
 ADDING TO PACKAGE.JSON...DONE
βœ” Executing: yarn
info: Current engine: @rnv/engine-rn-electron (./node_modules/@rnv/engine-rn-electron)
task: β—‹ run β†Ί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
warn: β—‹ project configure: Updates to package.json are required:
- raf (N/A) => (3.4.1) Missing dependency for platform tizen | engine.npm (@rnv/engine-rn-web)

? What to do? Update package and install (recommended)
βœ” Executing: yarn
task: βœ” app configure
task: βœ” project configure
info: Current Build Scheme: debug
warn: β—‹ platform configure: Updates to package.json are required:
- react (N/A) => (18.2.0) Missing dependency | plugin (renative.json)
- react-art (N/A) => (18.2.0) Missing dependency | plugin (renative.json)
- react-dom (N/A) => (18.2.0) Missing dependency | plugin (renative.json)
- react-native (N/A) => (0.73.4) Missing dependency | plugin (renative.json)
- react-native-web (N/A) => (0.19.9) Missing dependency | plugin (renative.json)
- @rnv/renative (N/A) => (1.0.0-rc.18) Missing dependency | plugin (renative.json)
- react-native-gesture-handler (N/A) => (2.14.1) Missing dependency | plugin (renative.json)

? What to do? Update package and install (recommended)
βœ” Executing: yarn
info: βœ” /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
info: βœ” /@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
task: βœ” platform configure
info: Found custom assetFolderPlatform: electron. Will use it instead of deafult macos
info: Found custom assetSources at ./node_modules/@flexn/assets-renative-outline/assets/electron. Will be used to generate assets.
task: βœ” configure
info: Your macos devServer at port 8086 is not running. Starting it up for you...
info: Your macos devServerHost 127.0.0.1 at port 8086 is not running. Starting it up for you...
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ ⚠ BUNDLER STARTED | 5/3/2024, 1:12:03 PM | rnv@                 β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: macos@0.1.0                                            β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Platform (-p): macos                                            β”‚
β”‚ Engine: @rnv/engine-rn-electron                                 β”‚
β”‚ Template: @rnv/template-starter                                 β”‚
β”‚ App Config (-c): app                                            β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Supported Platforms: web, ios, android, androidtv, firetv, tvos, macos, linux, tizen, webos, chromecast, kaios, androidwear, tizenwatch
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:1m:41s:984ms                                  β”‚
β”‚ warn: β—‹ project configure: Updates to package.json are required:
β”‚ warn: β—‹ platform configure: Updates to package.json are required:
β”‚ info: βœ” /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
β”‚ info: βœ” /@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
β”‚ Project location: ./platformBuilds/app_macos                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
error: β¨― β—‹ run: Error: Cannot find module 'babel-loader'
Require stack:
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/lib/config/webpack.config.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/lib/scripts/start.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/engine-rn-electron/lib/sdk/runner.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/engine-rn-electron/lib/tasks/taskBuild.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/engine-rn-electron/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.resolve (node:internal/modules/helpers:188:19)
    at module.exports (/Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/src/config/webpack.config.js:390:45)
    at Object.<anonymous> (/Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/src/scripts/start.js:29:67)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β¨― SUMMARY | 5/3/2024, 1:12:04 PM | rnv@                         β”‚
β”‚ $ npx rnv run -p macos                                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Project: macos@0.1.0                                            β”‚
β”‚ Workspace: rnv                                                  β”‚
β”‚ Platform (-p): macos                                            β”‚
β”‚ Engine: @rnv/engine-rn-electron                                 β”‚
β”‚ Template: @rnv/template-starter                                 β”‚
β”‚ App Config (-c): app                                            β”‚
β”‚ Build Scheme (-s): debug                                        β”‚
β”‚ Supported Platforms: web, ios, android, androidtv, firetv, tvos, macos, linux, tizen, webos, chromecast, kaios, androidwear, tizenwatch
β”‚ Env Info: darwin | arm64 | node v18.19.0                        β”‚
β”‚ Executed Time: 0h:1m:42s:910ms                                  β”‚
β”‚ warn: β—‹ project configure: Updates to package.json are required:
β”‚ warn: β—‹ platform configure: Updates to package.json are required:
β”‚ info: βœ” /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
β”‚ info: βœ” /@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
β”‚ error: β¨― β—‹ run: Error: Cannot find module 'babel-loader'
Require stack:
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/lib/config/webpack.config.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/lib/scripts/start.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/engine-rn-electron/lib/sdk/runner.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/engine-rn-electron/lib/tasks/taskBuild.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/engine-rn-electron/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/engines/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/tasks/taskHelpers.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/tasks/taskFinder.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/core/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/cli/lib/index.js
- /Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/cli/lib/bin.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Function.resolve (node:internal/modules/helpers:188:19)
    at module.exports (/Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/src/config/webpack.config.js:390:45)
    at Object.<anonymous> (/Users/gabriele/Desktop/nauji/macos/node_modules/@rnv/sdk-webpack/src/scripts/start.js:29:67)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)

β”‚ Project location: ./platformBuilds/app_macos                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
➜  macos git:(master) βœ—
  • second and third way - same error as before

Should be fixed in this PR #1541

works on rc.19