lambda-packages icon indicating copy to clipboard operation
lambda-packages copied to clipboard

`@types/react` not included in devDependencies when doing `astro add react`

Open sunneydev opened this issue 3 years ago • 5 comments

What version of astro are you using?

1.0.1

Are you using an SSR adapter? If so, which one?

wat

What package manager are you using?

pnpm

What operating system are you using?

Windows

Describe the Bug

Not much to say, it did not install @types/react and I had type errors when writing .tsx code.

Link to Minimal Reproducible Example

https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics?file=package.json

Participation

  • [X] I am willing to submit a pull request for this issue.

sunneydev avatar Aug 26 '22 21:08 sunneydev