We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello there,
I'm trying to use axios.standalone.js in Chrome 39 (which has built-in Promise) and have been getting the following error:
Uncaught TypeError: Cannot read property 'Promise' of undefined
Which traces back to https://github.com/mzabriskie/axios/blob/master/dist/axios.standalone.js#L54, as follows:
/* WEBPACK VAR INJECTION */(function(process) {var Promise = __webpack_require__(2).Promise;
However, __webpack_require__(2) is undefined, as https://github.com/mzabriskie/axios/blob/master/dist/axios.standalone.js#L161 suggests,
__webpack_require__(2)
undefined
/***/ function(module, exports, __webpack_require__) { module.exports = undefined; /***/ },
Can this possibly be a bug?
Regards,
xkxx
The text was updated successfully, but these errors were encountered:
Certainly sounds like a bug. Probably a problem with the webpack config. I'll take a look at it.
Sorry, something went wrong.
1b2cc9f
This is resolved with version 0.4.2
No branches or pull requests
Hello there,
I'm trying to use axios.standalone.js in Chrome 39 (which has built-in Promise) and have been getting the following error:
Which traces back to https://github.com/mzabriskie/axios/blob/master/dist/axios.standalone.js#L54, as follows:
However,
__webpack_require__(2)
isundefined
, as https://github.com/mzabriskie/axios/blob/master/dist/axios.standalone.js#L161 suggests,Can this possibly be a bug?
Regards,
xkxx
The text was updated successfully, but these errors were encountered: