Ali Saeed
Ali Saeed
I need to be able to cancel a request for multiple reasons: * When the route is changed * When a duplicate request is made again I want to cancel...
You are generating a `new CancelToken()` for each request & overwriting the global `cancel` in `AxiosCancellation.js`, so when you call `cancel()` it can only cancel the last request as the...
Doing 2 things helped me: * upgrading `html-webpack-plugin` to `3.2.0` (I was on an older `2.30.1`) as [suggested by eightHundreds above](https://github.com/storybookjs/storybook/issues/3444#issuecomment-489427490) * downgrading `babel-loader` to `7.1.5` as [suggested by andyford](https://github.com/storybookjs/storybook/issues/5249#issuecomment-477648849)...
> The full error message is: > > ``` > socket error ReferenceError: document is not defined > at JSONPPolling../node_modules/engine.io-client/lib/transports/polling-jsonp.js.JSONPPolling.doPoll > at JSONPPolling../node_modules/engine.io-client/lib/transports/polling.js.Polling.poll > at JSONPPolling../node_modules/engine.io-client/lib/transports/polling.js.Polling.doOpen > at JSONPPolling../node_modules/engine.io-client/lib/transport.js.Transport.open >...
on my mac Mojave, I fixed this by: Check Node path: ``` which node /usr/local/bin/node ``` Add this path to the globals PATHs: ``` sudo vi /etc/paths.d/local_bin ``` enter edit...
my config that worked looks like this: ``` module: { rules: [ // Extract all .global.css to style.css as is { test: /\.global\.css$/, use: ExtractTextPlugin.extract({ use: 'css-loader', fallback: 'style-loader', publicPath:...