79254645

Date: 2024-12-05 12:24:23
Score: 2
Natty:
Report link

Using cra , It will default create and install dependencies in directory , where you run npx create-react-app, you can delete delete node_modules folder, and others things and it will use packages from root nodu_modules. In monorepo, some you use special packages for spacific project, it dont have sense to use it globaly.Answer is not using cra, create basic templates for base projects(folder structure, scripts, modified package-json without global dependecies) and then run npm i/ci and start project.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Artem