I have two
package.jsons in my app, one at the root and one in a subdirectory, placed there by
create-react-app. Every time I come back to my project after overnight or more, I have an error saying the app can’t find the React scripts which is fixed by going to the subdirectory and doing
pnpm install. It’s basically fine because I know how to fix it, but I was hoping to find out if this is a common error or something I’ve misconfigured in my app. It’s a little bit annoying so I’d like to stop doing it if possible.