Closed app-generator closed 2 years ago
There must be some another issue. I just reclone repo and do that same as you did.
PS D:\Development\Phoenix\git\berry-free-react-admin-template-1> yarn build
yarn run v1.22.10
$ react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
202.61 KB build\static\js\3.647ce238.chunk.js
126.24 KB build\static\js\4.4ff677d8.chunk.js
31.17 KB build\static\js\0.05dda5df.chunk.js
15.39 KB build\static\js\main.95cf1b65.chunk.js
4.38 KB build\static\js\12.27819d14.chunk.js
3.33 KB build\static\js\6.3a2bae74.chunk.js
2.92 KB build\static\js\5.cae2cb4e.chunk.js
2.12 KB build\static\js\7.1e27f5b4.chunk.js
1.74 KB build\static\js\11.153d105f.chunk.js
1.53 KB build\static\js\9.d3190418.chunk.js
1.35 KB build\static\js\8.a74997b3.chunk.js
1.34 KB build\static\js\10.1fcd395a.chunk.js
1.29 KB build\static\js\runtime-main.99622e19.js
906 B build\static\css\main.bdc6e0c8.chunk.css
564 B build\static\css\3.03ebe89f.chunk.css
517 B build\static\js\13.4bea25d3.chunk.js
The project was built assuming it is hosted at /free/.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
Done in 134.63s.
PS D:\Development\Phoenix\git\berry-free-react-admin-template-1>
Can you please retry. My node and yarn versions are below:
PS D:\Development\Phoenix\git\berry-free-react-admin-template-1> node -v
v14.15.4
PS D:\Development\Phoenix\git\berry-free-react-admin-template-1> yarn -v
1.22.10
PS D:\Development\Phoenix\git\berry-free-react-admin-template-1>
Closing, as it's no longer an issue.
The dev mode is running as expected, but the production build is bumps a blank page and many errors in the console:
Steps to reproduce the issue:
1 - clone the repo 2 - Install deps via
yarn
3 - Exec the production buildyarn build
4 - visualize the files generated in thebuild
directoryThanks in advance for your help