Skip to content

[BUG] Pinned dependencies does not get packed up from workspace #3940

Open
@mxschmitt

Description

@mxschmitt

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

➜  npm-bump-version-etarget git:(master) ✗ npm i
npm ERR! code ETARGET
npm ERR! notarget No matching version found for playwright-core@=1.20.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/max/.npm/_logs/2021-10-25T14_07_42_079Z-debug.log

Expected Behavior

It prioritises the package from the workspaces over the NPM registry

Steps To Reproduce

See here for a small repro https://github.com/mxschmitt/npm-bump-version-etarget and instructions.

Relates #3403 but this one is only about updating, mine is about installing.

Environment

  • OS: MacOS 11.6
  • Node: 14
  • npm: 8.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancementnew feature or improvementNeeds Discussionis pending a discussionPriority Backloga "backlogged" item that will be tracked in a Project BoardRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions