3 ms·
Cant use bun to deploy CDK, CDK fails as it looks for package-lock yarn-lock or pnpm’s exclusively So dumb. Trying to move to SST for only that reason but if
by yieldcrv 2y ago
Cant use bun to deploy CDK, CDK fails as it looks for package-lock yarn-lock or pnpm’s exclusively
So dumb. Trying to move to SST for only that reason
but if you add cdk to the path, you can still deploy, its just that your cicd and deployment scripts are not all using bun anymore
- hinkley 2y agommm, I wonder how hard that would be to fix in a PR.
- yieldcrv 2y agoactually good idea, didnt think about it
- Tehnix 2y agoHmm, beyond a bug they had in bun between version 1.0.8 and 1.1.20[0] bun has otherwise worked perfectly fine for me You have to do a few adjustments which you can see here https://github.com/codetalkio/bun-issue-cdk-repro?tab=readme-ov-file#initial-setup https://github.com/codetalkio/bun-issue-cdk-repro?tab=readme... - Change app/cdk.json to use bun instead of ts-node - Remove package-lock.json + existing node_modules and run bun install - You can now use bun run cdk as normal [0]: https://github.com/codetalkio/bun-issue-cdk-repro https://github.com/codetalkio/bun-issue-cdk-repro