Closed peterpetre closed 6 years ago
@mars The master is not compatible anymore with CRA v1.x? need to upgrade to v2.x?
Hi @peterpetre, sorry to hear that. It should still work for CRA 1.x, but this looks like output from either CRA 2.x or an ejected app.
What else is logged? Are there other “Injecting“ lines logged? Please paste the complete log from restart/release to the failure.
That looks like it’s processing over 199 chunks. After you run npm run build
locally, what is output from ls -hal build/static/js/
?
Also,
If a custom Procfile
is defined, please paste its contents here.
And please paste contents of package.json
.
Hi, in general few hours ago, i just used https://github.com/mars/create-react-app-buildpack.git#v6.0.0 than master and now is ok.
But actually we are using intl polyfill in the code, and we import the locale-data dynamically with import(
intl/locale-data/jsonp/${locale})
, so pretty much all the chunks were from it. I just changed it to dynamic import only the locales we are supporting, and the chunks are few now.
*There were 199 injecting lines logged, no custom Procfile.