Open joshuaholmes90 opened 3 years ago
Anyone found a fix for this ? @olefirenko
same problem
Same here, trying to another component with Jest but can't import the component without this.
The same error is present yet.
same problem
Anyone found a fix for this ? @olefirenko
https://github.com/olefirenko/vue-google-autocomplete/pull/175
Adding the package to transformIgnorePatterns
in Jest config solved this for me 👍🏻
I had this problem after installing it in nuxt. I solved it by editing the build config in my nuxt.config.js file. I added the name of the package to the transpile property. I hope this helps.
build: { transpile: ['vue-google-autocomplete'], },
Finally a real solution!, thanks this works!
Just installed and this error comes up:
Unexpected token '<'
It's coming from your module code.
Kind Regards, Josh