Unable to install dependencies for run examples
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js, react-native
- Domain
- build-system, mobile
Research direction
Clone callstack/repack-examples and run yarn to reproduce the Yarn 3 link-step ENOENT involving chalk and the swc workspace. Trace why node_modules/chalk is missing during linking; done means the example dependencies install successfully without the reported error.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Java
- Stars
- 69
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from callstack/repack-examples
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
callstack/repack-examples#13 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
callstack/repack-examples#12 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
callstack/repack-examples#11 · 1 comment · 1 reaction ·
-
question
Difficulty 3/5 1-2 days Newbie friendliness 25/100
callstack/repack-examples#10 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in callstack/repack-examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100