react-boilerplate / react-boilerplate-cra-template

:fire: Setup Create React App with React Boilerplate. Highly scalable & Best DX & Performance Focused & Best practices.
https://react-boilerplate.github.io/react-boilerplate-cra-template/
MIT License
1.87k stars 392 forks source link

Doesn't work until you manually add devDependencies to package.json #208

Closed partounian closed 1 year ago

partounian commented 1 year ago

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

Description

I get an error message for basically ever package unless I copy over the devDependencies into my package.json

Steps to reproduce

Steps to reproduce the behavior:

yarn create react-app --template cra-template-rb my-app
cd my-app
yarn start

Expected behavior Add these packages into the generated folder's devDependencies by default?

Screenshots If applicable, add screenshots to help explain your problem.

Versions

partounian commented 1 year ago

This seemed to happen because I installed a fork passing a locally installed template https://create-react-app.dev/docs/custom-templates/#testing-a-template