iamstevendao / vue-tel-input

International Telephone Input with Vue
https://iamstevendao.com/vue-tel-input/
MIT License
818 stars 342 forks source link

Uncaught SyntaxError: Unexpected token { #456

Open JRobsonGomes opened 7 months ago

JRobsonGomes commented 7 months ago

In the file vue-tel-input.js in the folder 'vue-tel-input/dist', line 1674 there is a 'catch' without parentheses: 'catch {'. In a common browser this doesn't seem to be a problem, but I'm using your library in an application that has the Chromium Embedded Framework as a browser and the page simply doesn't open because of this. I managed to work around the problem by editing the mentioned file directly in the node_modules folder, but I felt it necessary to let you know if you want to make the correction at the source.

Thank you for your amazing library.