You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(devcontainer): Fix pnpm installation issue in postinstall.sh (#4886)
## Description
1. What is this PR about (link the issue and add a short description)
* This PR fixes an issue where `pnpm` was not being correctly installed
or configured within the Devcontainer environment when using
`postinstall.sh`.
* This was causing errors during container startup and when running
`pnpm` commands inside the Devcontainer.
* The fix ensures `pnpm` is properly set up in `postinstall.sh`,
resolving the Devcontainer setup issue.
## Steps for reproduction
1. Start the Webstudio Devcontainer.
2. Expect the Devcontainer to start successfully without `pnpm` related
errors.
3. Verify that `pnpm` commands can be executed correctly within the
Devcontainer terminal (e.g., `pnpm --version`).
## Code Review
- [ ] hi @kof, I need you to do
- conceptual review (architecture, feature-correctness)
- detailed review (read every line)
- test it on preview
## Before requesting a review
- [x] made a self-review
- [x] added inline comments where things may be not obvious (the "why",
not "what")
## Before merging
- [x] tested locally and on preview environment (preview dev login:
0000)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
0 commit comments