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

CodeSandbox CI failing with pnpm

Open samdenty opened this issue 4 years ago • 6 comments

PNPM supports the workspace:^ver format in package.json, which yarn install doesn't support. If a pnpm-lock.yaml is found, it should do a pnpm install instead.

https://ci.codesandbox.io/status/gqless/gqless/pr/180/builds/119442

samdenty avatar Apr 14 '21 00:04 samdenty

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

github-actions[bot] avatar Aug 24 '21 00:08 github-actions[bot]

This issue has been automatically closed because there wasn't any activity after the previous notice or the stale label wasn't removed.

github-actions[bot] avatar Sep 09 '21 00:09 github-actions[bot]

Any news to support pnpm?

JounQin avatar Oct 13 '21 13:10 JounQin

Hey,

Sorry for the long silence on this, we just started working on it, and will let you know when it's ready for testing.

lbogdan avatar Nov 17 '21 08:11 lbogdan

We deployed support for pnpm, you can see a successful build of a fork of gqless here.

The builds use pnpm install to install dependencies if they detect the pnpm-lock.yaml file at the root of the repository.

@samdenty @JounQin As we're not actively using pnpm and we're not that familiar with it, please test this and let us know if you encounter any issues. Thanks!

lbogdan avatar Nov 20 '21 07:11 lbogdan

Does codesandbox have plan to support pnpm 7? It fails when I lock the pnpm version in package.json. link: https://ci.codesandbox.io/status/vercel/swr/pr/1990/builds/255035

huozhi avatar May 30 '22 12:05 huozhi

We can install pnpm v7 via installCommand script as a workaround. ref: https://github.com/chakra-ui/chakra-ui/pull/7015

yukukotani avatar Nov 19 '22 10:11 yukukotani