-
Notifications
You must be signed in to change notification settings - Fork 52
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
Module not found: Error: Cannot resolve module 'whatwg-fetch' when building with webpack #6
Comments
It should be solved when you install Never tested |
Latest Chrome which has a native fetch implementation. The app is a On Wed, Aug 24, 2016, 03:36 Malte Legenhausen [email protected]
|
Ok I think requiring For now it is possible for you to install |
FWIW I had this same issue, and installed whatwg-fetch and everything worked out great! Thanks! |
I am having same issues. And even installing Whatwg-fetch, then need es6-promise-promise.. would be great if these weren't necessary as babel, and ES6 are much more widely supported |
just comment |
IMO, any upstream fix should probably also account for node-only environments where My use case for this project is to intercept & re-write Adding |
I'm trying to use this as part of a webpack-based web UI. I installed it with
npm install --save-dev fetch-intercept
. My code looks like:in
authFetchIntercept.js
and I haveimport './authFetchIntercept.js'
inside my javascript's entrypoint. Trying to build the site with webpack results in:The text was updated successfully, but these errors were encountered: