counterscale icon indicating copy to clipboard operation
counterscale copied to clipboard

Unknown project config "link-workspace-packages"

Open mtemakuni320 opened this issue 10 months ago • 3 comments

Upon running any of the installation commands, this warning pops up

npm warn Unknown project config "link-workspace-packages". This will stop working in the next major version of npm.

mtemakuni320 avatar Mar 21 '25 19:03 mtemakuni320

Do you mean if you run npx @counterscale/cli install?

So link-workspace-packages is an option set in .npmrc meant for pnpm, but I guess npm is also reading .npmrc and doesn't like it.

https://pnpm.io/npmrc

Not sure what the solution here is because pnpm wants an .npmrc. Hmm.

benvinegar avatar Mar 25 '25 20:03 benvinegar

These npx wrangler login npx @counterscale/cli@latest install both emit that warning.

mtemakuni320 avatar Mar 26 '25 00:03 mtemakuni320

We can use linkWorkspacePackages in pnpm-workspace.yaml and remove it from .npmrc

InvincibleHub avatar Apr 10 '25 07:04 InvincibleHub