node_modules/babel-plugin-component/lib/core.js:103:21
importMethod
}
if (libraryObjs[methodName]) {
/* istanbul ingore next */
if (cache[libraryName] === 2) {
throw Error('[babel-plugin-component] If you are using both' + 'on-demand and importing all, make sure to invoke the' + ' importing all first.');
}
if (styleRoot) {
path = "".concat(cachePath[libraryName]).concat(styleRoot).concat(ext);
} else {
node_modules/babel-plugin-component/lib/core.js:225:24
var argName = arg.name;
if (specified[argName]) {
return importMethod(specified[argName], file, state.opts);
} else if (libraryObjs[argName]) {
return importMethod(argName, file, state.opts);
}
return arg;
});
}
node_modules/babel-plugin-component/lib/core.js:219:45
PluginPass.CallExpression
if (types.isIdentifier(node.callee)) {
if (specified[name]) {
node.callee = importMethod(specified[name], file, state.opts);
}
} else {
node.arguments = node.arguments.map(function (arg) {
var argName = arg.name;
if (specified[argName]) {
return importMethod(specified[argName], file, state.opts);
} else if (libraryObjs[argName]) {
node_modules/@babel/traverse/lib/visitors.js:177:21
newFn
fns = fns.map(function (fn) {
let newFn = fn;
if (state) {
newFn = function (path) {
return fn.call(state, path, state);
};
}
if (wrapper) {
newFn = wrapper(state.key, key, newFn);
node_modules/@babel/traverse/lib/path/context.js:53:20
NodePath._call
for (const fn of fns) {
if (!fn) continue;
const node = this.node;
if (!node) return true;
const ret = fn.call(this.state, this, this.state);
if (ret && typeof ret === "object" && typeof ret.then === "function") {
throw new Error(`You appear to be using a plugin with an async traversal visitor, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`);
}
node_modules/@babel/traverse/lib/path/context.js:40:17
NodePath.call
if (this.node) {
if (this._call(opts[key])) return true;
}
if (this.node) {
return this._call(opts[this.node.type] && opts[this.node.type][key]);
}
return false;
}
node_modules/@babel/traverse/lib/path/context.js:100:31
NodePath.visit
return false;
}
const currentContext = this.context;
if (this.shouldSkip || this.call("enter")) {
this.debug("Skip...");
return this.shouldStop;
}
restoreContext(this, currentContext);
node_modules/@babel/traverse/lib/context.js:103:16
TraversalContext.visitQueue
node
} = path;
if (visited.has(node)) continue;
if (node) visited.add(node);
if (path.visit()) {
stop = true;
break;
}
if (this.priorityQueue.length) {
node_modules/@babel/traverse/lib/context.js:77:19
TraversalContext.visitSingle
return this.visitQueue(queue);
}
visitSingle(node, key) {
if (this.shouldVisit(node[key])) {
return this.visitQueue([this.create(node, node, key)]);
} else {
return false;
}
}
node_modules/@babel/traverse/lib/context.js:131:19
TraversalContext.visit
if (!nodes) return false;
if (Array.isArray(nodes)) {
return this.visitMultiple(nodes, node, key);
} else {
return this.visitSingle(node, key);
}
}
}
node_modules/@babel/traverse/lib/index.js:82:17
Function.traverse.node
if (!keys) return;
const context = new _context.default(scope, opts, state, parentPath);
for (const key of keys) {
if (skipKeys && skipKeys[key]) continue;
if (context.visit(node, key)) return;
}
};
traverse.clearNode = function (node, opts) {
removeProperties(node, opts);
node_modules/@babel/traverse/lib/path/context.js:108:18
NodePath.visit
}
restoreContext(this, currentContext);
this.debug("Recursing into...");
_index.default.node(this.node, this.opts, this.scope, this.state, this, this.skipKeys);
restoreContext(this, currentContext);
this.call("exit");
return this.shouldStop;
}
node_modules/@babel/traverse/lib/context.js:103:16
TraversalContext.visitQueue
node
} = path;
if (visited.has(node)) continue;
if (node) visited.add(node);
if (path.visit()) {
stop = true;
break;
}
if (this.priorityQueue.length) {
node_modules/@babel/traverse/lib/context.js:72:17
TraversalContext.visitMultiple
if (node && this.shouldVisit(node)) {
queue.push(this.create(parent, container, key, listKey));
}
}
return this.visitQueue(queue);
}
visitSingle(node, key) {
if (this.shouldVisit(node[key])) {
return this.visitQueue([this.create(node, node, key)]);
node_modules/@babel/traverse/lib/context.js:129:19
TraversalContext.visit
visit(node, key) {
const nodes = node[key];
if (!nodes) return false;
if (Array.isArray(nodes)) {
return this.visitMultiple(nodes, node, key);
} else {
return this.visitSingle(node, key);
}
}
server.js:11766:7
Object../plugins/element-ui.js
webpack/bootstrap:25:
__webpack_require__
.nuxt/index.js:1:
Module../.nuxt/index.js
import Vue from 'vue'
import Vuex from 'vuex'
import Meta from 'vue-meta'
import ClientOnly from 'vue-client-only'
import NoSsr from 'vue-no-ssr'
import { createRouter } from './router.js'
webpack/bootstrap:25:
__webpack_require__
.nuxt/server.js:1:
Module../.nuxt/server.js
import Vue from 'vue'
import { joinURL, normalizeURL, withQuery } from 'ufo'
import fetch from 'node-fetch'
import middleware from './middleware.js'
import {
applyAsyncData,
webpack/bootstrap:25:
__webpack_require__
server.js:12589:18
Object.0
webpack/bootstrap:25:
__webpack_require__