yarn failing with ENOENT: no such file or directory

Open
#12 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
nodejs
Domain
build-system

Research direction

Start by reproducing a clean install with Yarn 3.2.1 in this repository and inspect why node_modules/node-gyp/bin is missing during installation. Done means the repository installs successfully without the ENOENT error; the issue names no specific source file or test to inspect.

Written by the indexing model from the issue text.

Description

Environment

I can't get a clean yarn to successfully run.
Running with yarn 3.2.1

Its failing with

➤ YN0001: │ Error: ENOENT: no such file or directory, lstat '/Users/johntwigg/development/external/repack-examples/module-federation/module1/node_modules/node-gyp/bin'

Description

I cannot clean install this repo with yarn 3.2.1
I've been tearing my hair out.

Is it YARN thats broken? Is the the checked in files?

Reproducible Demo

Its on a clean install... so this repo.

Dominant language
Java
Stars
69
Forks
23
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstack/repack-examples

All issues in callstack/repack-examples

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.