Please can you check you are running Local 9.2.6 or higher and upgrade if not?
We released a fix in that version to make sure that NODE_ENV is set to development instead of production (so that dev deps like tailwindcss are installed correctly during npm install).
If that doesn’t help, you might try npm install --loglevel verbose to see if there’s any explanation for the missing folders.