codesandbox-client icon indicating copy to clipboard operation
codesandbox-client copied to clipboard

Specify npm version in CodeSandbox CI config

Open mayakoneval opened this issue 3 years ago • 0 comments
trafficstars

https://github.com/codesandbox/codesandbox-client/issues/5249

This issue was closed ^ but I don't believe it has been resolved.

There is no way to specify the version of npm to use in CodeSandbox CI. Right now CodeSandbox CI is using npm version 6.14.15. This doesn't support npm workspaces. The install command in npm 6.14.15 just installs deps from the root package.json, not the workspaces package.jsons.

I am currently getting around this by installing npm 8.5.0 & then installing in my installCommand in the CodeSandbox CI config file.

Feature Request: Can we have a way to specify the npm version in the CodeSandbox config?

Thanks! I love this feature its extremely helpful in developing npm packages 🙏

mayakoneval avatar Jun 14 '22 14:06 mayakoneval