-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async js chunks that include css imports cause => Uncaught (in promise) TypeError: Cannot read property 'call' of undefined #4130
Comments
I'm also experiencing the same issue on images. Is there any workaround on this issue? |
Would you mind testing out [email protected] release and see if it happens there? |
I have existing app at the moment. How to install it? |
Never mind. I manage to install it but the react-scripts used in it is |
@ricxsar simply replace 1.14 with 2.0.0-next.66cc7a90 in your package.json, and do npm install or yarn. |
Sorry for the late reply. I was able to test it using the |
Thanks for looking into it! |
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. |
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. |
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
async js chunks that include css imports cause => Uncaught (in promise) TypeError: Cannot read property 'call' of undefined
Environment
node -v
: v8.2.1npm -v
: 5.7.1yarn --version
(if you use Yarn):npm ls react-scripts
(if you haven’t ejected): [email protected]Then, specify:
Steps to Reproduce
Expected Behavior
To have
async.css
working in an async chunk after runningnpm 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)
Reproducible Demo
Well, it's a webpack issue in the first place - but also happening with cra - it's described in details here with reproduction steps:
webpack-contrib/extract-text-webpack-plugin#456
Along with a repo to reproduce the error:
https://github.com/ericnoguchi/webpack-testing
The text was updated successfully, but these errors were encountered: