Skip to content

Unable to install dependencies for run examples #6

@whalemare

Description

@whalemare

Environment

System
  platform           darwin                                                           
  arch               arm64                                                            
  cpu                10 cores          Apple M1 Pro                                   
  Node.js v18.9.1
  yarn v3.2.1

Description

Unable to install dependencies for run react-native projects

Reproducible Demo

git clone https://github.com/callstack/repack-examples
cd repack-examples
yarn

output

λ  repack-examples main ✓ yarn
➤ YN0000: ┌ Project validation
➤ YN0057: │ esbuild: Resolutions field will be ignored
➤ YN0057: │ app1: Resolutions field will be ignored
➤ YN0057: │ app2: Resolutions field will be ignored
➤ YN0057: │ host: Resolutions field will be ignored
➤ YN0057: │ module1: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0002: │ app1@workspace:module-federation/app1 doesn't provide @react-native-community/cli (p9f60d), requested by @callstack/repack
➤ YN0002: │ app1@workspace:module-federation/app1 doesn't provide @react-native-community/cli-types (p434ba), requested by @callstack/repack
➤ YN0060: │ app1@workspace:module-federation/app1 provides eslint (p13b5b) with version 8.23.1, which doesn't satisfy what @callstack/eslint-config and some of its descendants request
➤ YN0002: │ app2@workspace:module-federation/app2 doesn't provide @react-native-community/cli (p9448f), requested by @callstack/repack
➤ YN0002: │ app2@workspace:module-federation/app2 doesn't provide @react-native-community/cli-types (p5d2fd), requested by @callstack/repack
➤ YN0060: │ app2@workspace:module-federation/app2 provides eslint (pa9377) with version 8.23.1, which doesn't satisfy what @callstack/eslint-config and some of its descendants request
➤ YN0002: │ esbuild@workspace:esbuild doesn't provide @react-native-community/cli (peb171), requested by @callstack/repack
➤ YN0002: │ esbuild@workspace:esbuild doesn't provide @react-native-community/cli-types (p28cde), requested by @callstack/repack
➤ YN0060: │ esbuild@workspace:esbuild provides react (p51ccb) with version 18.0.0, which doesn't satisfy what react-native and some of its descendants request
➤ YN0002: │ host@workspace:module-federation/host doesn't provide @react-native-community/cli (p3c445), requested by @callstack/repack
➤ YN0002: │ host@workspace:module-federation/host doesn't provide @react-native-community/cli-types (p8b7f3), requested by @callstack/repack
➤ YN0060: │ host@workspace:module-federation/host provides eslint (p8a468) with version 8.23.1, which doesn't satisfy what @callstack/eslint-config and some of its descendants request
➤ YN0002: │ local-chunks@workspace:local-chunks doesn't provide @react-native-community/cli (p34217), requested by @callstack/repack
➤ YN0002: │ local-chunks@workspace:local-chunks doesn't provide @react-native-community/cli-types (p01a19), requested by @callstack/repack
➤ YN0060: │ local-chunks@workspace:local-chunks provides react (pbbcde) with version 18.0.0, which doesn't satisfy what react-native and some of its descendants request
➤ YN0002: │ module1@workspace:module-federation/module1 doesn't provide @react-native-community/cli (pe7a82), requested by @callstack/repack
➤ YN0002: │ module1@workspace:module-federation/module1 doesn't provide @react-native-community/cli-types (p57381), requested by @callstack/repack
➤ YN0060: │ module1@workspace:module-federation/module1 provides eslint (pd0fc5) with version 8.23.1, which doesn't satisfy what @callstack/eslint-config and some of its descendants request
➤ YN0002: │ react-native-codegen@npm:0.0.17 doesn't provide @babel/preset-env (p45cb0), requested by jscodeshift
➤ YN0002: │ react-native-codegen@npm:0.69.2 doesn't provide @babel/preset-env (p066db), requested by jscodeshift
➤ YN0002: │ swc@workspace:swc doesn't provide @react-native-community/cli (p899b4), requested by @callstack/repack
➤ YN0002: │ swc@workspace:swc doesn't provide @react-native-community/cli-types (p13191), requested by @callstack/repack
➤ YN0060: │ swc@workspace:swc provides react (pb8ce1) with version 18.0.0, which doesn't satisfy what react-native and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ yargs-parser@npm:18.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs-parser@npm:21.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:15.4.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:17.5.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 1s 818ms
➤ YN0000: ┌ Link step
➤ YN0001: │ Error: While cloning /Users/whalemare/dev/temp/repack-examples/node_modules/chalk -> /Users/whalemare/dev/temp/repack-examples/swc/node_modules/chalk ENOENT: no such file or directory, scandir '/Users/whalemare/dev/temp/repack-examples/node_modules/chalk'
➤ YN0000: └ Completed in 6s 905ms
➤ YN0000: Failed with errors in 8s 886ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions