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
It appears the cookies helper is not loaded correctly.
Possible Solution
Moving line 106;
var cookies = require('./../helpers/cookies');
Outside of the xhrAdapter function resolves the problem.
var utils = require('./../utils');
var settle = require('./../core/settle');
var cookies = require('./../helpers/cookies');
var buildURL = require('./../helpers/buildURL');
var parseHeaders = require('./../helpers/parseHeaders');
var isURLSameOrigin = require('./../helpers/isURLSameOrigin');
var createError = require('../core/createError');
var btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || require('./../helpers/btoa');
Summary
When using Vue.js Async Components (https://vuejs.org/v2/guide/components.html#Async-Components) that use an Axios GET request it returns an Error "TypeError: cookies.read is not a function".
It appears the cookies helper is not loaded correctly.
Possible Solution
Moving line 106;
Outside of the xhrAdapter function resolves the problem.
Context
The text was updated successfully, but these errors were encountered: