[BUG] Referencing project in workspace when using npm create #6648
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
I have written a create templates tool for my workspace.
If I am at the root of my repository, I can run my
npm create
command and create a project from that template. However, I cannot use that command when I go deeper into my repo. It tells me not found in the registry.Expected Behavior
Npm should check local repositories in the workspace before checking registry.npmjs.com for repositories.
Steps To Reproduce
npm create @problem
in the root of the workspacenpm create @problem
in thecloudflare
directoryEnvironment
9.8.0
20.3.1
Fedora 38
Custom PC
The text was updated successfully, but these errors were encountered: