[BUG] npm init
does not use locally installed version of given package.
#7700
Labels
npm init
does not use locally installed version of given package.
#7700
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm init @repo -w package/foo
will fail due to the following error.The
@repo/create
package is a local package and installed as a dependency on the workspace root.Expected Behavior
npm init @repo -w package/foo
succeeds asmkdir package/foo; cd package/foo; npx @repo/create
does.Steps To Reproduce
@repo/create
in packages/createEnvironment
The text was updated successfully, but these errors were encountered: