Closed jonasthiesen closed 10 months ago
Latest commit: caaff4f60053110b4d14275d3ac1d6bb45cb0ecf
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
That's weird. We should install it there. Are you using pnpm? Can you share your version?
Yes, I'm using pnpm.
sst version 2.24.22 pnpm version 7.24.3
Oh wow. It seems to be a pnpm version thing. Just updated to latest (v8.7.4) and it seems to work now.
Yup, closing this for now.
Following the – otherwise incredibly amazing guide – there seems to be an issue on the following page: https://sst.dev/chapters/create-a-new-reactjs-app.html
When installing
sst
topackages/frontend
, it fails with the following error when runningpnpm run dev
:To me this sounds like it's getting a new "instance" of sst is created that doesn't have the app setup, which then let me to investigate the examples you have, e.g. this one: https://github.com/sst/sst/blob/0101c9f86c4c8c7ac7c05939d51b05c9050e12b4/examples/react-app/packages/frontend/package.json
On that one
sst
is not installed intopackages/frontend
itself.I removed
sst
frompackages/frontend
and it seems to work perfectly now.