-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[BUG] npm ci fails with ERR_FS_EISDIR for node_modules/.bin #6051
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Comments
👍 also having this issue when running |
PR with a fix here #6052 |
+1 I'm surprised dev team doesn't have a test for it. |
neilmendum
added a commit
to ministryofjustice/digital-prison-services
that referenced
this issue
Jan 13, 2023
neilmendum
added a commit
to ministryofjustice/digital-prison-services
that referenced
this issue
Jan 13, 2023
Pin npm to 9.2.0 because of the issue npm/cli#6051 See Slack thread https://mojdt.slack.com/archives/C69NWE339/p1673607422599409
tpmcgowan
added a commit
to ministryofjustice/book-a-prison-visit-staff-ui
that referenced
this issue
Jan 13, 2023
tpmcgowan
added a commit
to ministryofjustice/book-a-prison-visit-staff-ui
that referenced
this issue
Jan 13, 2023
2 tasks
dhirajshettymoj
added a commit
to ministryofjustice/send-legal-mail-to-prisons
that referenced
this issue
Jan 16, 2023
dhirajshettymoj
added a commit
to ministryofjustice/send-legal-mail-to-prisons
that referenced
this issue
Jan 16, 2023
squaresmile
added a commit
to atlasacademy/apps
that referenced
this issue
Jan 17, 2023
tpmcgowan
added a commit
to ministryofjustice/book-a-prison-visit-staff-ui
that referenced
this issue
Jan 20, 2023
This reverts commit 5f1b156.
psoleckimoj
pushed a commit
to ministryofjustice/book-a-prison-visit-staff-ui
that referenced
this issue
Jan 20, 2023
) This reverts commit 5f1b156.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Can't npm ci if there's an existing .bin directory in node_modules
Expected Behavior
It deletes node_modules without crashing
Steps To Reproduce
Use this package.json
npm ci
npm ci
Environment
The text was updated successfully, but these errors were encountered: