Open codingpierogi opened 3 years ago
The build command is randomly creating static/MEDIA directory for font files which is causing issues when the app is deployed.
npm -v: 6.14.8 npm ls react-scripts: react-scripts@4.0.1 npm ls file-loader: -- react-scripts@4.0.1 -- file-loader@6.1.1
-- react-scripts@4.0.1
Deployment, MEDIA
Environment Info:
current version of create-react-app: 3.4.1 running from
System: OS: Windows 7 6.1.7601 CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1585L v5 @ 3.00GHz Binaries: Node: 12.20.0 - Yarn: 1.22.10 - npm: 6.14.8 - Browsers: Internet Explorer: 11.0.9600.19867 npmPackages: react: ~17.0.1 => 17.0.1 react-dom: ~17.0.1 => 17.0.1 react-scripts: ~4.0.1 => 4.0.1 npmGlobalPackages: create-react-app: Not Found
In a project with font files:
npm run build
I expect the static/media directory to be lowercase so that my app properly serves font files.
I'm randomly receiving:
I:. └───static ├───css ├───js └───MEDIA
(Paste the link to an example project and exact instructions to reproduce the issue.)
Old thread, but did you ever find a fix to this? We started randomly seeing the same issue
Unfortunately never found a fix.
we encountered the same issue today and randomly earlier days too.
Describe the bug
The build command is randomly creating static/MEDIA directory for font files which is causing issues when the app is deployed.
Did you try recovering your dependencies?
npm -v: 6.14.8 npm ls react-scripts: react-scripts@4.0.1 npm ls file-loader:
-- react-scripts@4.0.1
-- file-loader@6.1.1Which terms did you search for in User Guide?
Deployment, MEDIA
Environment
Environment Info:
current version of create-react-app: 3.4.1 running from
System: OS: Windows 7 6.1.7601 CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1585L v5 @ 3.00GHz Binaries: Node: 12.20.0 - Yarn: 1.22.10 - npm: 6.14.8 - Browsers: Internet Explorer: 11.0.9600.19867 npmPackages: react: ~17.0.1 => 17.0.1 react-dom: ~17.0.1 => 17.0.1 react-scripts: ~4.0.1 => 4.0.1 npmGlobalPackages: create-react-app: Not Found
Steps to reproduce
In a project with font files:
npm run build
Expected behavior
I expect the static/media directory to be lowercase so that my app properly serves font files.
Actual behavior
I'm randomly receiving:
I:. └───static ├───css ├───js └───MEDIA
Reproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)