Unable to install dependencies for run examples
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript, node.js, react-native
- Área
- build-system, mobile
Línea de trabajo
Clona callstack/repack-examples y ejecuta yarn para reproducir el ENOENT del link-step de Yarn 3 relacionado con chalk y el workspace de swc. Rastrea por qué falta node_modules/chalk durante el enlazado; se considera terminado cuando las dependencias del ejemplo se instalan correctamente sin el error indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 69
- Forks
- 23
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstack/repack-examples
-
Ghost fallback chunks / import: false behaviour with large transitive dep trees — Re.Pack MFAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
callstack/repack-examples#13 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
callstack/repack-examples#12 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
callstack/repack-examples#11 · 1 comentario · 1 reacción ·
-
question
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
callstack/repack-examples#10 · 4 comentarios ·
-
Sharing module from hostAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Todos los issues de callstack/repack-examples
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
aoqia194/leaf-loader#19 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
apache/streampark#4521 ·
-
Update license yearAbierto0 - Backlog 1 - Ready documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
cbor
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
FasterXML/jackson-dataformats-binary#844 ·
Los mantenedores suelen responder en 1 día