You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
async js chunks that include css imports cause => Uncaught (in promise) TypeError: Cannot read property 'call' of undefined #4130
To have async.css working in an async chunk after running npm run build
Actual Behavior
Uncaught (in promise) TypeError: Cannot read property 'call' of undefined
at webpack_require (bootstrap 3d99482…:52)
at Object.95 (async.css:1)
at webpack_require (bootstrap 3d99482…:52)
at Object.96 (async.css?eb60:4)
at webpack_require (bootstrap 3d99482…:52)
at Object.94 (0.cb65e0.chunk.js:8)
at webpack_require (bootstrap 3d99482…:52)
Reacted by Amirhossein Movahedi, Hussein Jafferjee, Marco Poletto, Halvard Eggen, ricxsar, Alexander Kuznetsov, Josh Strobel, Matías Olivera, Michał Lytek, Alif Faishol and 1 more
Sorry for the late reply. I was able to test it using the 2.0.0-next.66cc7a90 but with the same result. I was able to remove the problem by not using the importing feature of reactjs of images but the images will not be available for offline use which is unfortunate.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Activity
ricxsar commentedon Jun 5, 2018
I'm also experiencing the same issue on images. Is there any workaround on this issue?
bugzpodder commentedon Jun 5, 2018
Would you mind testing out create-react-app@2.0 release and see if it happens there?
ricxsar commentedon Jun 5, 2018
I have existing app at the moment. How to install it?
ricxsar commentedon Jun 5, 2018
Never mind. I manage to install it but the react-scripts used in it is
1.1.4which is I tested with the same result.bugzpodder commentedon Jun 5, 2018
@ricxsar simply replace 1.14 with 2.0.0-next.66cc7a90 in your package.json, and do npm install or yarn.
ricxsar commentedon Jun 6, 2018
Sorry for the late reply. I was able to test it using the
2.0.0-next.66cc7a90but with the same result. I was able to remove the problem by not using the importing feature of reactjs of images but the images will not be available for offline use which is unfortunate.bugzpodder commentedon Jun 6, 2018
Thanks for looking into it!
stale commentedon Dec 2, 2018
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
stale commentedon Dec 8, 2018
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.