This tutorial is actually made for not ejecting if you run eject you cannot update create-react-app on that project to fix it I think you can follow this tutorial.
The scripts are looking for .scss files in /src/styles since you change the folder name to assets now is checking in /src/assets and what the script does is that if you don't add _ at the biginning of the name will treat it as a new file so from a Header.scss it will create a Header.css (the .css is the one file that you can use inside your component, because is a build css file).
IMO you should create a index.scss and then import every component style file (like _header.scss) after importing _custom boostrap and boostrap and then import in the App.js the index.css that the script will generate on every change of any .scss file in the /src/assets folder, but this is just a way to do it I understand that can be more clear to have it in every component folder.
If needed I can take a look if you have a public repo.
Hope it helps.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This tutorial is actually made for not ejecting if you run
ejectyou cannot updatecreate-react-appon that project to fix it I think you can follow this tutorial.The scripts are looking for
.scssfiles in/src/stylessince you change the folder name toassetsnow is checking in/src/assetsand what the script does is that if you don't add_at the biginning of the name will treat it as a new file so from aHeader.scssit will create aHeader.css(the.cssis the one file that you can use inside your component, because is a build css file).IMO you should create a
index.scssand then import every component style file (like_header.scss) after importing_custom boostrapandboostrapand then import in theApp.jstheindex.cssthat the script will generate on every change of any.scssfile in the/src/assetsfolder, but this is just a way to do it I understand that can be more clear to have it in every component folder.If needed I can take a look if you have a public repo.
Hope it helps.