typeit icon indicating copy to clipboard operation
typeit copied to clipboard

Error in dist/index.es.js during npm build

Open followalter opened this issue 6 months ago • 1 comments

Hi, I get the following error when I run my Parcel build with 'npm run build' /Applications/MAMP/htdocs/erjanborren/node_modules/typeit/dist/index.es.js: Unexpected token: punc (.)

This is the call stack: at Z.get (/Applications/MAMP/htdocs/erjanborren/node_modules/terser/dist/bundle.min.js:1:525) at Object.errorToJson (/Applications/MAMP/htdocs/erjanborren/node_modules/@parcel/utils/src/errorUtils.js:9:20) at Pipeline.process (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Pipeline.js:29:26) at async Object.run (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/worker.js:15:12) at async Bundler.loadAsset (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Bundler.js:577:19) at async /Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Bundler.js:610:13 at async Promise.all (index 1) at async Bundler.loadAsset (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Bundler.js:599:21) at async /Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Bundler.js:610:13 at async Promise.all (index 4) at async Bundler.loadAsset (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Bundler.js:599:21) at async Bundler.processAsset (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/Bundler.js:557:5) at async PromiseQueue._runJob (/Applications/MAMP/htdocs/erjanborren/node_modules/parcel-bundler/src/utils/PromiseQueue.js:48:7)

I don't get an error when i just do npm start, all typeit code runs fine then. I'm using Parcel 1.12.5 and typeit 8.8.4. Let me know if you need extra information. Thanks, Tom

followalter avatar Aug 13 '24 11:08 followalter