thalesog / pix-utils

Set of tools to parse, generate and validate payments of Brazil Instant Payment System (Pix) in Javascript
MIT License
65 stars 15 forks source link

Module parse failed: Unexpected token (85:37) #30

Open freire75 opened 5 days ago

freire75 commented 5 days ago

Instalei hoje e quando importa da esse erro:

Failed to compile.

./node_modules/pix-utils/dist/module/emvHandler.js 85:37 Module parse failed: Unexpected token (85: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 | isValid: true, | rawTags: newData,

        getTag: (tag) => newData?.[Number(tag)]?.value,

| getSubTag: (tag, mainTag) => newData?.[Number(mainTag)]?.subTags?.getTag(Number(tag)), | };