Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] npm install fails in my project since v7 #6815

Open
2 tasks done
ljharb opened this issue Sep 16, 2023 · 1 comment · May be fixed by #7065
Open
2 tasks done

[BUG] npm install fails in my project since v7 #6815

ljharb opened this issue Sep 16, 2023 · 1 comment · May be fixed by #7065
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release Release 8.x work is associated with a specific npm 8 release Release 9.x work is associated with a specific npm 9 release Release 10.x

Comments

@ljharb
Copy link
Collaborator

ljharb commented Sep 16, 2023

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

Clone https://github.com/ljharb/list-exports

run npm install.

see it fail.

Expected Behavior

It doesn't fail.

Steps To Reproduce

See above.

Environment

  • npm: v7 - v10.10
  • Node.js: irrelevant, but i was using v20.5.1
  • OS Name: Mac OS
  • System Model Name: Macbook Pro
  • npm config: not relevant, the only local config i have is package-lock=false in the npmrc file.
@ljharb ljharb added Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x labels Sep 16, 2023
@ljharb ljharb changed the title [BUG] npm install fails in my project since v [BUG] npm install fails in my project since v7 Sep 16, 2023
@ljharb ljharb added Release 7.x work is associated with a specific npm 7 release Release 8.x work is associated with a specific npm 8 release Release 9.x work is associated with a specific npm 9 release labels Sep 16, 2023
@ljharb
Copy link
Collaborator Author

ljharb commented Sep 16, 2023

Error output of an npm install on latest npm:

> list-exports-monorepo@0.0.0 postinstall
> lerna bootstrap

lerna notice cli v3.22.1
notice filter excluding [".","list-exports-monorepo"]
info filter [ '!.', '!list-exports-monorepo' ]
lerna WARN bootstrap Installing local packages that do not match filters from registry
lerna info Bootstrapping 3 packages
lerna info Installing external dependencies
lerna ERR! npm install --no-save exited 190 in 'list-exports-tests'
lerna ERR! npm install --no-save stderr:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'aud@1.1.5',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '^16 || ^15 || ^14 || ^13 || ^12 || ^11 || ^10 || ^8 || ^6',
npm WARN EBADENGINE     npm: '>= 3'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v20.5.1', npm: '9.8.0' }
npm WARN EBADENGINE }
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path $PWD/packages/tests/node_modules/inquirer
npm ERR! dest $PWD/packages/tests/node_modules/.inquirer-Hz7MkCUV
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '$PWD/packages/tests/node_modules/inquirer' -> '$PWD/packages/tests/node_modules/.inquirer-Hz7MkCUV'

npm ERR! A complete log of this run can be found in: $HOME/.npm/_logs/2023-09-16T21_31_26_089Z-debug-0.log

ljharb added a commit to ljharb/list-exports that referenced this issue Sep 16, 2023
ljharb added a commit to ljharb/list-exports that referenced this issue Nov 27, 2023
ljharb added a commit to ljharb/list-exports that referenced this issue Dec 6, 2023
@ljharb ljharb linked a pull request Feb 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release Release 8.x work is associated with a specific npm 8 release Release 9.x work is associated with a specific npm 9 release Release 10.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant