Unable to install dependencies for run examples
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, node.js, react-native
- Ambito
- build-system, mobile
Direzione di ricerca
Clona callstack/repack-examples ed esegui yarn per riprodurre l’ENOENT del link-step di Yarn 3 che coinvolge chalk e il workspace swc. Traccia il motivo per cui node_modules/chalk manca durante il linking; il lavoro è completato quando le dipendenze dell’esempio vengono installate correttamente senza l’errore riportato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Java
- Stelle
- 69
- Fork
- 23
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di callstack/repack-examples
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
callstack/repack-examples#13 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
callstack/repack-examples#12 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
callstack/repack-examples#11 · 1 commento · 1 reazione ·
-
question
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
callstack/repack-examples#10 · 4 commenti ·
-
Sharing module from host Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Tutte le issue di callstack/repack-examples
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/gradle-plugins#157 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cryptomator/hub#497 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
johanhaleby/occurrent#1120 ·