callstack / callstack/repack-examples

yarn failing with ENOENT: no such file or directory

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
69
Forks
23
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.