Closed pauliusguzas closed 1 year ago
~metro-cache issue should be fixed by https://github.com/flexn-io/renative/pull/1003~
should be fixed by https://github.com/flexn-io/create/pull/104
rnv version: 0.37.0-rc.8 @flexn/create-template-starter@0.21.2
rnv run -p macos
│ $ rnv run -p macos │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.37.0-rc.8 │
│ Project Name ($package.name): rnv_test91 │
│ Project Version ($package.version): 0.1.0 │
│ Workspace ($.workspaceID): rnv │
│ Platform (-p): macos │
│ Engine ($.platforms.macos.engine): engine-rn-electron │
│ Template: @flexn/create-template-starter@0.21.2 │
│ App Config (-c): app │
│ Build Scheme (-s): debug │
│ Supported Platforms: macos │
│ Env Info: darwin | x64 | node v16.14.2 │
│ Executed Time: 0h:0m:1s:651ms │
│ │
│ [ warn ] [configure] Your app is missing assets at ./appConfigs/base,./appConfigs/app.
│ [ error ] [run] tslib_1.__spreadArray is not a function
TypeError: tslib_1.__spreadArray is not a function
at module.exports (/Users/gabriele/Desktop/tests/rnv_test91/node_modules/@rnv/sdk-webpack/src/config/webpack.config.js:308:51)
at /Users/gabriele/Desktop/tests/rnv_test91/node_modules/@rnv/sdk-webpack/src/scripts/start.js:56:24
at new Promise (<anonymous>)
at /Users/gabriele/Desktop/tests/rnv_test91/node_modules/@rnv/sdk-webpack/src/scripts/start.js:30:5
at step (/Users/gabriele/Desktop/tests/rnv_test91/node_modules/tslib/tslib.js:141:27)
at Object.next (/Users/gabriele/Desktop/tests/rnv_test91/node_modules/tslib/tslib.js:122:57)
at /Users/gabriele/Desktop/tests/rnv_test91/node_modules/tslib/tslib.js:115:75
at new Promise (<anonymous>)
at Object.__awaiter (/Users/gabriele/Desktop/tests/rnv_test91/node_modules/tslib/tslib.js:111:16)
at /Users/gabriele/Desktop/tests/rnv_test91/node_modules/@rnv/sdk-webpack/src/scripts/start.js:29:16
│ │
│ Project location: │
│ ./platformBuilds/app_macos │
└──────────────────────────────────────────────────────────────────────────────┘
rnv run -p androidtv
, rnv run -p android
, rnv run -p ios
, rnv run -p tvos
│ $ rnv run -p androidtv │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.37.0-rc.8 │
│ Project Name ($package.name): rnv_test91 │
│ Project Version ($package.version): 0.1.0 │
│ Workspace ($.workspaceID): rnv │
│ Platform (-p): androidtv │
│ Engine ($.platforms.androidtv.engine): engine-rn-tvos │
│ Template: @flexn/create-template-starter@0.21.2 │
│ App Config (-c): app │
│ Build Scheme (-s): debug │
│ Target (-t): Android_TV_1080p_API_29 │
│ Supported Platforms: androidtv │
│ Env Info: darwin | x64 | node v16.14.2 │
│ Executed Time: 0h:0m:13s:576ms │
│ │
│ [ warn ] [configure] Your app is missing assets at ./appConfigs/base,./appConfigs/app.
│ [ error ] [run] Can't connect to bundler. Try restarting it.
│ │
│ Project location: │
│ ./platformBuilds/app_androidtv │
└──────────────────────────────────────────────────────────────────────────────┘
3. `rnv run -p web`
ready - started server on 0.0.0.0:8080, url: http://localhost:8080 Found custom dir:/Users/gabriele/Desktop/tests/temp_rc1/src/pages error TS6053: File '@flexn/typescript/tsconfig.app.json' not found.
┌──────────────────────────────────────────────────────────────────────────────┐ │ 🚀 SUMMARY | 7/10/2023, 2:11:34 PM │ │ $ rnv run -p web │ ├──────────────────────────────────────────────────────────────────────────────┤ │ ReNative Version: 0.37.0-rc.9 │ │ Project Name ($package.name): temp_rc1 │ │ Project Version ($package.version): 0.1.0 │ │ Workspace ($.workspaceID): rnv │ │ Platform (-p): web │ │ Engine ($.platforms.web.engine): engine-rn-next │ │ Template: @flexn/create-template-starter@0.21.3-rc.1 │ │ App Config (-c): app │ │ Build Scheme (-s): debug │ │ Supported Platforms: web │ │ Env Info: darwin | x64 | node v16.14.2 │ │ Executed Time: 0h:0m:3s:447ms │ │ │ │ [ error ] [run] COMMAND:
npx next dev --port 8080
FAILED with ERROR:
Command failed with exit code 1: npx next dev --port 8080
Error: Command failed with exit code 1: npx next dev --port 8080 at makeError (/Users/gabriele/Desktop/tests/temp_rc1/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/gabriele/Desktop/tests/temp_rc1/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │ │ Project location: │ │ ./platformBuilds/app_web │ └──────────────────────────────────────────────────────────────────────────────┘
Same issues on version 0.21.3-rc.1
Note: rnv version 0.37.0-rc.9
@pauliusguzas @GabrieleKaceviciute please give it a go now with rnv rc.10 and template rc.2
Still does not work on web Template: 0.21.3-rc.2 Renative: 0.37.0-rc.10
ready - started server on 0.0.0.0:8080, url: http://localhost:8080
Found custom dir:/Users/gabriele/Desktop/tests/temp_rc2/src/pages
error TS6053: File '@flexn/typescript/tsconfig.app.json' not found.
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 SUMMARY | 7/11/2023, 9:57:57 AM │
│ $ rnv run -p web │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.37.0-rc.10 │
│ Project Name ($package.name): temp_rc2 │
│ Project Version ($package.version): 0.1.0 │
│ Workspace ($.workspaceID): rnv │
│ Platform (-p): web │
│ Engine ($.platforms.web.engine): engine-rn-next │
│ Template: @flexn/create-template-starter@0.21.3-rc.2 │
│ App Config (-c): app │
│ Build Scheme (-s): debug │
│ Supported Platforms: web │
│ Env Info: darwin | x64 | node v16.14.2 │
│ Executed Time: 0h:0m:4s:223ms │
│ │
│ [ error ] [run] COMMAND:
npx next dev --port 8080
FAILED with ERROR:
Command failed with exit code 1: npx next dev --port 8080
Error: Command failed with exit code 1: npx next dev --port 8080
at makeError (/Users/gabriele/Desktop/tests/temp_rc2/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/gabriele/Desktop/tests/temp_rc2/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │
│ Project location: │
│ ./platformBuilds/app_web │
└──────────────────────────────────────────────────────────────────────────────┘
If I create new project and do rnv run
, I get "metro-cache" error:
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 SUMMARY | 7/11/2023, 10:24:19 AM │
│ $ rnv run │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.37.0-rc.10 │
│ Project Name ($package.name): metro │
│ Project Version ($package.version): 0.1.0 │
│ Workspace ($.workspaceID): rnv │
│ Build Scheme (-s): debug │
│ Env Info: darwin | x64 | node v16.14.2 │
│ Executed Time: 0h:0m:0s:786ms │
│ │
│ [ error ] Cannot find module 'metro-cache'
Require stack:
- /Users/gabriele/Desktop/tests/metro/node_modules/@rnv/engine-rn-tvos/dist/adapter.js
- /Users/gabriele/Desktop/tests/metro/node_modules/@rnv/engine-rn-tvos/dist/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/core/engineManager/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/core/runtimeManager/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/cli/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/bin/index.js
Error: Cannot find module 'metro-cache'
Require stack:
- /Users/gabriele/Desktop/tests/metro/node_modules/@rnv/engine-rn-tvos/dist/adapter.js
- /Users/gabriele/Desktop/tests/metro/node_modules/@rnv/engine-rn-tvos/dist/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/core/engineManager/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/core/runtimeManager/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/cli/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/dist/index.js
- /Users/gabriele/.nvm/versions/node/v16.14.2/lib/node_modules/rnv/bin/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/gabriele/Desktop/tests/metro/node_modules/@rnv/engine-rn-tvos/src/adapter.js:5:19)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
│ │
└──────────────────────────────────────────────────────────────────────────────┘
Note: If I first try e.g. rnv run -p android
and after that - rnv run
- "metro-cache" error does not occurs
Describe the bug
Rnv does not install apps.
To Reproduce:
Expected behavior: All apps launches.
Screenshots or copy&paste:
rnv run
,rnv run -p tvos
,rnv run -p androidtv
rnv run -p web
npx next dev --port 8080
FAILED with ERROR:
Command failed with exit code 1: npx next dev --port 8080
Error: Command failed with exit code 1: npx next dev --port 8080 at makeError (/Users/pauliusguzas/Desktop/crt/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/pauliusguzas/Desktop/crt/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │ │ Project location: │ │ ./platformBuilds/app_web │ └──────────────────────────────────────────────────────────────────────────────┘ pauliusguzas@Pauliuss-MBP crt %
Dev server running at: http://0.0.0.0:8083/index.bundle?platform=android
[ hook ] [start] executePipe ('start:after') [ task ] <= [run] <= start ⠋ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[1] [ task ] [run] _isBundlerRunning[2] (NO) node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module '/Users/pauliusguzas/Desktop/crt/null/local-cli/cli.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } 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: COMMAND:
node null/local-cli/cli.js start --port 8083 --config=metro.config.js --no-interactive
FAILED with ERROR:
Command failed with exit code 1: node null/local-cli/cli.js start --port 8083 --config=metro.config.js --no-interactive
Error: Command failed with exit code 1: node null/local-cli/cli.js start --port 8083 --config=metro.config.js --no-interactive at makeError (/Users/pauliusguzas/Desktop/crt/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/pauliusguzas/Desktop/crt/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5)
⠹ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[3] [ task ] [run] _isBundlerRunning[4] (NO) ⠼ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[5] [ task ] [run] _isBundlerRunning[6] (NO) ⠧ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[7] [ task ] [run] _isBundlerRunning[8] (NO) ⠏ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[9] [ task ] [run] _isBundlerRunning[10] (NO) ⠹ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[11] [ task ] [run] _isBundlerRunning[12] (NO) ⠼ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[13] [ task ] [run] _isBundlerRunning[14] (NO) ⠧ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[15] [ task ] [run] _isBundlerRunning[16] (NO) ⠏ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[17] [ task ] [run] _isBundlerRunning[18] (NO) ⠙ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[19] [ task ] [run] _isBundlerRunning[20] (NO) ⠼ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[21] [ task ] [run] _isBundlerRunning[22] (NO) ✖ Can't connect to bundler. Try restarting it. ┌──────────────────────────────────────────────────────────────────────────────┐ │ 🚀 SUMMARY | 5/29/2023, 10:46:29 AM │ │ $ rnv run -p android │ ├──────────────────────────────────────────────────────────────────────────────┤ │ ReNative Version: 0.37.0-canary.9 │ │ Project Name ($package.name): crt │ │ Project Version ($package.version): 0.1.0 │ │ Workspace ($.workspaceID): flexn │ │ Platform (-p): android │ │ Engine ($.platforms.android.engine): engine-rn │ │ Template: @flexn/template@0.21.1-alpha.8 │ │ App Config (-c): app │ │ Build Scheme (-s): debug │ │ Target (-t): Nexus_5X_API_26 │ │ Supported Platforms: android │ │ Env Info: darwin | x64 | node v16.14.2 │ │ Executed Time: 0h:0m:10s:994ms │ │ │ │ [ warn ] [project configure] Plugin scope @flexn/plugins does not exists in package.json. │ [ warn ] [project configure] This project uses encrypted files but you don't have them installed │ [ warn ] [app configure] Plugin scope @flexn/plugins does not exists in package.json. │ [ warn ] [project configure] Plugin react is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-art is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-dom is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @react-native-community/cli-platform-ios is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @react-native-community/cli is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @flexn/create is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @rnv/renative is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-web is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-tvos is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-windows is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-vector-icons is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @lightningjs/sdk is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @lightningjs/cli is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin next is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @react-native-windows/cli is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @react-navigation is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @react-navigation/elements is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-screens is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-safe-area-context is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-reanimated is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @react-native-masked-view/masked-view is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-media-query is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @flexn/shopify-flash-list is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin @flexn/recyclerlistview is not recognized plugin in flexn scope │ [ warn ] [project configure] Plugin react-native-gesture-handler is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-art is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-dom is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @react-native-community/cli-platform-ios is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @react-native-community/cli is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @flexn/create is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @rnv/renative is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-web is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-tvos is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-windows is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-vector-icons is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @lightningjs/sdk is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @lightningjs/cli is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin next is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @react-native-windows/cli is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @react-navigation is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @react-navigation/elements is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-screens is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-safe-area-context is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-reanimated is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @react-native-masked-view/masked-view is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-media-query is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @flexn/shopify-flash-list is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin @flexn/recyclerlistview is not recognized plugin in flexn scope │ [ warn ] [configure] Plugin react-native-gesture-handler is not recognized plugin in flexn scope │ [ error ] [run] Can't connect to bundler. Try restarting it. │ │ │ Project location: │ │ ./platformBuilds/app_android │ └──────────────────────────────────────────────────────────────────────────────┘ pauliusguzas@Pauliuss-MBP crt %
│ [ error ] [configure] COMMAND:
pod update
FAILED with ERROR:
Error
/Users/pauliusguzas/.rvm/gems/ruby-3.1.1/bin/pod update
CocoaPods : 1.11.3 Ruby : ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-darwin20] RubyGems : 3.3.7 Host : macOS 13.2 (22D49) Xcode : 14.2 (14C18) Git : git version 2.37.1 (Apple Git-137.1) Ruby lib dir : /Users/pauliusguzas/.rvm/rubies/ruby-3.1.1/lib Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ 3562657e243e5b5db71f27bcfb485159191d00a2
cocoapods-deintegrate : 1.0.5 cocoapods-plugins : 1.0.0 cocoapods-search : 1.0.1 cocoapods-trunk : 1.6.0 cocoapods-try : 1.2.0
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=relative+URI%3A+%2FUsers%2Fpauliusguzas%2FDesktop%2Fcrt%2FplatformBuilds%2Fapp_ios%2Fnull%2Fthird-party-podspecs%2FDoubleConversion.podspec&type=Issues
If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods... Found no similar issues. To create a new issue, please visit: https://github.com/cocoapods/cocoapods/issues/new
Error: Command failed with exit code 1: pod update Update all pods Updating local specs repositories
CocoaPods 1.12.1 is available. To update use:
sudo gem install cocoapods
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.12.1
Analyzing dependencies Fetching podspec for
DoubleConversion
fromnull/third-party-podspecs/DoubleConversion.podspec
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
Plugins
Podfile
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=relative+URI%3A+%2FUsers%2Fpauliusguzas%2FDesktop%2Fcrt%2FplatformBuilds%2Fapp_ios%2Fnull%2Fthird-party-podspecs%2FDoubleConversion.podspec&type=Issues
If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods... Found no similar issues. To create a new issue, please visit: https://github.com/cocoapods/cocoapods/issues/new at makeError (/Users/pauliusguzas/Desktop/crt/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/pauliusguzas/Desktop/crt/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5)
│ │ │ Project location: │ │ ./platformBuilds/app_ios/RNVApp.xcworkspace │ └──────────────────────────────────────────────────────────────────────────────┘ pauliusguzas@Pauliuss-MBP crt %