**I have follow this guide https://kolirt.github.io/vue-web3-auth/
but getting this error**
Module parse failed: Unexpected token (21:39)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| data: typeof data === 'object' ? data.data : data,
| functionName,
message: shortMessage ?? message,
| });
| }
@ ./node_modules/viem/_esm/index.js 92:0-71 92:0-71
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/verifyHash.js
Module parse failed: Unexpected token (25:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| ...callRequest,
| });
return isBytesEqual(data ?? '0x0', '0x1');
| }
| catch (error) {
@ ./node_modules/viem/_esm/actions/public/verifyTypedData.js 2:0-46 14:11-21
@ ./node_modules/viem/_esm/clients/decorators/public.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/transaction/serializeTransaction.js
Module parse failed: Unexpected token (27:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| maxFeePerGas ? toHex(maxFeePerGas) : '0x',
| gas ? toHex(gas) : '0x',
| value ? toHex(value) : '0x',
| data ?? '0x',
@ ./node_modules/viem/_esm/index.js 110:0-84 110:0-84
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/errors/getNodeError.js
Module parse failed: Unexpected token (27:31)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| return new FeeCapTooHighError({
| cause: err,
maxFeePerGas: args?.maxFeePerGas,
| });
| else if (FeeCapTooLowError.nodeMessage.test(message))
@ ./node_modules/viem/_esm/utils/index.js 52:0-76 52:0-76 52:0-76
@ ./node_modules/viem/_esm/utils/signature/signatureToCompactSignature.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/abi/encodeFunctionData.js
Module parse failed: Unexpected token (27:53)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const signature = getFunctionSelector(definition);
| const data = 'inputs' in abiItem && abiItem.inputs
? encodeAbiParameters(abiItem.inputs, (args ?? []))
| : undefined;
| return concatHex([signature, data ?? '0x']);
@ ./node_modules/viem/_esm/index.js 52:0-72 52:0-72
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/createEventFilter.js
Module parse failed: Unexpected token (28:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock, } = {}) {
const events = events_ ?? (event ? [event] : undefined);
| const getRequest = createFilterRequestScope(client, {
| method: 'eth_newFilter',
@ ./node_modules/viem/_esm/clients/decorators/public.js 9:0-79 51:37-54
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/cursor.js
Module parse failed: Unexpected token (28:36)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| },
| inspectByte(position_) {
const position = position_ ?? this.position;
| this.assertPosition(position);
| return this.bytes[position];
@ ./node_modules/viem/_esm/utils/encoding/toRlp.js 2:0-45 7:19-31
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getLogs.js
Module parse failed: Unexpected token (29:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_, } = {}) {
const strict = strict_ ?? false;
| const events = events_ ?? (event ? [event] : undefined);
| let topics = [];
@ ./node_modules/viem/_esm/clients/decorators/public.js 26:0-59 72:27-34
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getBlock.js
Module parse failed: Unexpected token (29:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function getBlock(client, { blockHash, blockNumber, blockTag: blockTag_, includeTransactions: includeTransactions_, } = {}) {
const blockTag = blockTag_ ?? 'latest';
| const includeTransactions = includeTransactions_ ?? false;
| const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
@ ./node_modules/viem/_esm/clients/decorators/public.js 16:0-61 56:28-36
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/test/sendUnsignedTransaction.js
Module parse failed: Unexpected token (30:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export async function sendUnsignedTransaction(client, args) {
| const { accessList, data, from, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args;
const format = client.chain?.formatters?.transactionRequest?.format ||
| formatTransactionRequest;
| const request = format({
@ ./node_modules/viem/_esm/clients/decorators/test.js 12:0-89 46:47-70
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/abi/encodeEventTopics.js
Module parse failed: Unexpected token (30:45)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| let topics = [];
| if (args && 'inputs' in abiItem) {
const indexedInputs = abiItem.inputs?.filter((param) => 'indexed' in param && param.indexed);
| const args_ = Array.isArray(args)
| ? args
@ ./node_modules/viem/_esm/index.js 51:0-70 51:0-70
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
Module parse failed: Unexpected token (32:21)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export async function internal_estimateMaxPriorityFeePerGas(client, args) {
| const { block: block_, chain = client.chain, request } = args || {};
if (typeof chain?.fees?.defaultPriorityFee === 'function') {
| const block = block_ || (await getBlock(client));
| return chain.fees.defaultPriorityFee({
@ ./node_modules/viem/_esm/clients/decorators/public.js 14:0-101 73:48-76
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getFilterLogs.js
Module parse failed: Unexpected token (32:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function getFilterLogs(_client, { filter, }) {
const strict = filter.strict ?? false;
| const logs = await filter.request({
| method: 'eth_getFilterLogs',
@ ./node_modules/viem/_esm/clients/decorators/public.js 24:0-71 70:33-46
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
Module parse failed: Unexpected token (32:54)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| hash ? getTransaction(client, { hash }) : undefined,
| ]);
const transactionBlockNumber = transactionReceipt?.blockNumber || transaction?.blockNumber;
| if (!transactionBlockNumber)
| return 0n;
@ ./node_modules/viem/_esm/clients/decorators/public.js 29:0-99 76:47-74
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getBlockNumber.js
Module parse failed: Unexpected token (32:61)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const blockNumberHex = await withCache(() => client.request({
| method: 'eth_blockNumber',
}), { cacheKey: cacheKey(client.uid), cacheTime: maxAge ?? cacheTime });
| return BigInt(blockNumberHex);
| }
@ ./node_modules/viem/_esm/clients/decorators/public.js 17:0-73 57:34-48
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/watchBlocks.js
Module parse failed: Unexpected token (33:54)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval, }) {
| const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';
const includeTransactions = includeTransactions_ ?? false;
| let prevBlock;
| const pollBlocks = () => {
@ ./node_modules/viem/_esm/clients/decorators/public.js 40:0-67 88:31-42
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/chains/celo/serializers.js
Module parse failed: Unexpected token (34:21)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| maxFeePerGas ? toHex(maxFeePerGas) : '0x',
| gas ? toHex(gas) : '0x',
| gatewayFeeRecipient ?? '0x',
| gatewayFee ? toHex(gatewayFee) : '0x',
@ ./node_modules/viem/_esm/chains/definitions/celoAlfajores.js 3:0-57 40:17-32
@ ./node_modules/viem/_esm/chains/index.js
@ ./node_modules/@wagmi/core/dist/chains.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
Module parse failed: Unexpected token (34:25)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const { block: block_, chain = client.chain, request, type = 'eip1559', } = args || {};
| const baseFeeMultiplier = await (async () => {
if (typeof chain?.fees?.baseFeeMultiplier === 'function')
| return chain.fees.baseFeeMultiplier({
| block: block_,
@ ./node_modules/viem/_esm/clients/decorators/public.js 12:0-81 68:38-56
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getTransactionReceipt.js
Module parse failed: Unexpected token (34:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (!receipt)
| throw new TransactionReceiptNotFoundError({ hash });
const format = client.chain?.formatters?.transactionReceipt?.format ||
| formatTransactionReceipt;
| return format(receipt);
@ ./node_modules/viem/_esm/clients/decorators/public.js 31:0-87 78:41-62
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/estimateGas.js
Module parse failed: Unexpected token (35:35)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function estimateGas(client, args) {
const account_ = args.account ?? client.account;
| if (!account_)
| throw new AccountNotFoundError({
@ ./node_modules/viem/_esm/clients/decorators/public.js 13:0-67 54:31-42
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js
Module parse failed: Unexpected token (37:80)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| getBlockExplorerUrls(chain) {
const { default: blockExplorer, ...blockExplorers } = chain.blockExplorers ?? {};
| if (blockExplorer)
| return [
@ ./node_modules/@wagmi/connectors/dist/injected.js 6:0-29
@ ./node_modules/@wagmi/core/dist/chunk-EQOEZP46.js
@ ./node_modules/@wagmi/core/dist/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/runtime/utils.js
Module parse failed: Unexpected token (38:52)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| name: match.name,
| type: 'function',
stateMutability: match.stateMutability ?? 'nonpayable',
| inputs,
| outputs,
@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js 4:0-53 5:0-77 9:27-42 12:31-49 22:31-46 25:35-53
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/node_modules/abitype/dist/esm/regex.js
Module parse failed: Unexpected token (3:17)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function execTyped(regex, string) {
| const match = regex.exec(string);
| }
| export const bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/runtime/signatures.js 1:0-43 7:11-20 14:11-20 21:11-20 28:11-20 35:11-20
@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/call.js
Module parse failed: Unexpected token (42:77)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| */
| export async function call(client, args) {
const { account: account_ = client.account, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = 'latest', accessList, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args;
| const account = account_ ? parseAccount(account_) : undefined;
| try {
@ ./node_modules/viem/_esm/index.js 4:0-42
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/errors/base.js
Module parse failed: Unexpected token (43:25)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const details = args.cause instanceof BaseError
| ? args.cause.details
| ? args.cause.message
| : args.details;
@ ./node_modules/viem/_esm/index.js 22:0-45 22:0-45
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/watchEvent.js
Module parse failed: Unexpected token (46:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function watchEvent(client, { address, args, batch = true, event, events, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, }) {
| const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';
const strict = strict_ ?? false;
| const pollEvent = () => {
| const observerId = stringify([
@ ./node_modules/viem/_esm/clients/decorators/public.js 42:0-65 91:30-40
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/contract/extractFunctionParts.js
Module parse failed: Unexpected token (4:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function extractFunctionParts(def) {
| const parts = def.match(paramsRegex);
const type = parts?.[2] || undefined;
| const name = parts?.[3];
| const params = parts?.[5] || undefined;
@ ./node_modules/viem/_esm/utils/hash/getFunctionSignature.js 2:0-98 5:21-40 6:23-44
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/formatters/block.js
Module parse failed: Unexpected token (4:44)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import { formatTransaction } from './transaction.js';
| export function formatBlock(block) {
const transactions = block.transactions?.map((transaction) => {
| if (typeof transaction === 'string')
| return transaction;
@ ./node_modules/viem/_esm/index.js 40:0-72 40:0-72 40:0-72
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/clients/createClient.js
Module parse failed: Unexpected token (4:59)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import { uid } from '../utils/uid.js';
| export function createClient(parameters) {
const { batch, cacheTime = parameters.pollingInterval ?? 4000, key = 'base', name = 'Base Client', pollingInterval = 4000, type = 'base', } = parameters;
| const chain = parameters.chain;
| const account = parameters.account
@ ./node_modules/viem/_esm/index.js 5:0-58 5:0-58
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/multicall.js
Module parse failed: Unexpected token (51:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export async function multicall(client, args) {
| const { allowFailure = true, batchSize: batchSize_, blockNumber, blockTag, contracts, multicallAddress: multicallAddress_, } = args;
const batchSize = batchSize_ ??
| ((typeof client.batch?.multicall === 'object' &&
| client.batch.multicall.batchSize) ||
@ ./node_modules/viem/_esm/clients/decorators/public.js 32:0-63 79:29-38
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/typedData.js
Module parse failed: Unexpected token (53:22)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export function getTypesForEIP712Domain({ domain, }) {
| return [
typeof domain?.name === 'string' && { name: 'name', type: 'string' },
| domain?.version && { name: 'version', type: 'string' },
| typeof domain?.chainId === 'number' && {
@ ./node_modules/viem/_esm/index.js 115:0-100 115:0-100 115:0-100 115:0-100
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/estimateContractGas.js
Module parse failed: Unexpected token (54:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| docsPath: '/docs/contract/estimateContractGas',
| functionName,
sender: account?.address,
| });
| }
@ ./node_modules/viem/_esm/clients/decorators/public.js 11:0-83 53:39-58
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/runtime/structs.js
Module parse failed: Unexpected token (55:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| else {
| const match = execTyped(typeWithoutTupleRegex, abiParameter.type);
| throw new InvalidAbiTypeParameterError({ abiParameter });
| const { array, type } = match;
@ ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/parseAbiParameters.js 3:0-52 16:24-36
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/watchContractEvent.js
Module parse failed: Unexpected token (56:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| pollingInterval,
| ]);
const strict = strict_ ?? false;
| return observe(observerId, { onLogs, onError }, (emit) => {
| let previousBlockNumber;
@ ./node_modules/viem/_esm/clients/decorators/public.js 41:0-81 90:38-56
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/getTransaction.js
Module parse failed: Unexpected token (58:32)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| index,
| });
const format = client.chain?.formatters?.transaction?.format || formatTransaction;
| return format(transaction);
| }
@ ./node_modules/viem/_esm/clients/decorators/public.js 28:0-73 75:34-48
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/clients/transports/fallback.js
Module parse failed: Unexpected token (61:48)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| rankTransports({
| chain,
interval: rankOptions.interval ?? pollingInterval,
| onTransports: (transports_) => (transports = transports_),
| sampleCount: rankOptions.sampleCount,
@ ./node_modules/viem/_esm/index.js 7:0-61 7:0-61
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/@wagmi/core/dist/chunk-YAPWLAI7.js
Module parse failed: Unexpected token (61:64)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| chains,
| publicClient: ({ chainId }) => {
const activeChain = chains.find((x) => x.id === chainId) ?? defaultChains[0];
| const chainHttpUrls = httpUrls[activeChain.id];
| if (!chainHttpUrls || !chainHttpUrls[0])
@ ./node_modules/@wagmi/core/dist/index.js 5:0-64:29 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2 72:0-135:2
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/data/slice.js
Module parse failed: Unexpected token (64:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const value = `0x${value_
| .replace('0x', '')
.slice((start ?? 0) * 2, (end ?? value_.length) * 2)}`;
| if (strict)
| assertEndOffset(value, start, end);
@ ./node_modules/viem/_esm/index.js 112:0-69 112:0-69 112:0-69 112:0-69
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/watchBlockNumber.js
Module parse failed: Unexpected token (67:29)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| catch (err) {
| }
| }, {
@ ./node_modules/viem/_esm/clients/decorators/public.js 39:0-77 89:36-52
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/watchPendingTransactions.js
Module parse failed: Unexpected token (68:33)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| catch (err) {
| }
| }, {
@ ./node_modules/viem/_esm/clients/decorators/public.js 43:0-93 92:44-68
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/wallet/signTransaction.js
Module parse failed: Unexpected token (69:29)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| chain,
| });
const formatters = chain?.formatters || client.chain?.formatters;
| const format = formatters?.transactionRequest?.format || formatTransactionRequest;
| if (account.type === 'local')
@ ./node_modules/viem/_esm/clients/decorators/wallet.js 12:0-75 30:35-50
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/errors/node.js
Module parse failed: Unexpected token (6:13)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| constructor({ cause, message, } = {}) {
| const reason = message
?.replace('execution reverted: ', '')
| ?.replace('execution reverted', '');
| super(Execution reverted ${reason ?
with reason: ${reason} : 'for an unknown reason'}.
, {
@ ./node_modules/viem/_esm/index.js 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303 31:0-303
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/node_modules/abitype/dist/esm/errors.js
Module parse failed: Unexpected token (6:25)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const details = args.cause instanceof BaseError
| ? args.cause.details
| ? args.cause.message
| : args.details;
@ ./node_modules/viem/node_modules/abitype/dist/esm/index.js 1:0-40 1:0-40
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/formatters/feeHistory.js
Module parse failed: Unexpected token (6:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| gasUsedRatio: feeHistory.gasUsedRatio,
| oldestBlock: BigInt(feeHistory.oldestBlock),
reward: feeHistory.reward?.map((reward) => reward.map((value) => BigInt(value))),
| };
| }
@ ./node_modules/viem/_esm/actions/public/getFeeHistory.js 2:0-73 37:11-27
@ ./node_modules/viem/_esm/clients/decorators/public.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/public/simulateContract.js
Module parse failed: Unexpected token (78:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| docsPath: '/docs/contract/simulateContract',
| functionName,
sender: account?.address,
| });
| }
@ ./node_modules/viem/_esm/clients/decorators/public.js 34:0-77 83:36-52
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/abi/decodeEventLog.js
Module parse failed: Unexpected token (7:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const docsPath = '/docs/contract/decodeEventLog';
| export function decodeEventLog({ abi, data, strict: strict_, topics, }) {
const strict = strict_ ?? true;
| const [signature, ...argTopics] = topics;
| if (!signature)
@ ./node_modules/viem/_esm/index.js 45:0-64 45:0-64
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/ccip.js
Module parse failed: Unexpected token (82:53)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| });
| let result;
if (response.headers.get('Content-Type')?.startsWith('application/json')) {
| result = (await response.json()).data;
| }
@ ./node_modules/viem/_esm/index.js 82:0-109 82:0-109 82:0-109 82:0-109 82:0-109
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/signature/hashTypedData.js
Module parse failed: Unexpected token (84:30)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| function findTypeDependencies({ primaryType: primaryType_, types, }, results = new Set()) {
| const match = primaryType_.match(/^\w*/u);
const primaryType = match?.[0];
| if (results.has(primaryType) || types[primaryType] === undefined) {
| return results;
@ ./node_modules/viem/_esm/index.js 61:0-80 61:0-80 61:0-80
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/errors/estimateGas.js
Module parse failed: Unexpected token (8:26)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| constructor(cause, { account, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {
| const prettyArgs = prettyPrint({
| to,
| value: typeof value !== 'undefined' &&
@ ./node_modules/viem/_esm/index.js 30:0-69 30:0-69
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/actions/wallet/sendTransaction.js
Module parse failed: Unexpected token (91:37)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (!chainId)
| chainId = await getChainId(client);
const serializer = chain?.serializers?.transaction;
| const serializedTransaction = (await account.signTransaction({
| ...request,
@ ./node_modules/viem/_esm/clients/decorators/wallet.js 10:0-75 28:35-50
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/@noble/curves/abstract/weierstrass.js
Module parse failed: Unexpected token (921:61)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const u1 = modN(h * is); // u1 = hs^-1 mod n
| const u2 = modN(r * is); // u2 = rs^-1 mod n
const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2)?.toAffine(); // R = u1⋅G + u2⋅P
| if (!R)
| return false;
@ ./node_modules/@noble/curves/secp256k1.js 8:25-61
@ ./node_modules/viem/_esm/utils/signature/hexToCompactSignature.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/buildRequest.js
Module parse failed: Unexpected token (99:41)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| // If we find a Retry-After header, let's retry after the given time.
| if (error && error instanceof HttpRequestError) {
const retryAfter = error?.headers?.get('Retry-After');
| if (retryAfter?.match(/\d/))
| return parseInt(retryAfter) * 1000;
@ ./node_modules/viem/_esm/clients/transports/createTransport.js 1:0-59 8:17-29
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
Module parse failed: Unexpected token (9:36)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const requestMap = {};
| if (client.transport.type === 'fallback')
client.transport.onResponse?.(({ method: method_, response: id, status, transport, }) => {
| if (status === 'success' && method === method_)
| requestMap[id] = transport.request;
@ ./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js 1:0-91 24:23-47
@ ./node_modules/viem/_esm/clients/decorators/public.js
@ ./node_modules/viem/_esm/index.js
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./node_modules/viem/_esm/errors/rpc.js
Module parse failed: Unexpected token (9:48)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| cause,
| docsPath,
metaMessages: metaMessages || cause?.metaMessages,
| });
| Object.defineProperty(this, "name", {
@ ./node_modules/viem/_esm/index.js 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526 26:0-526
@ ./node_modules/@kolirt/vue-web3-auth/dist/vue-web3-auth.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.101:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js