I could build and test a Vue 3 cli app for Freshdesk that runs quite well now in debug mode using the fdk run command.
However now I am trying to run fdk pack I have an error in the vendor compiled file, here is what is printed:
[ERROR] app/scripts/vendors.e33059d4.js::1: Parsing error: Invalid regular expression flag
And I am unable to see where the error is into this compiled vendor file. Any help and suggestion would be welcome!
I am wondering if this could be related to this issue so I tried to update the FDK to the latest version 8+ but when I run fdk -v I always see 6.13.2 and for node I am running 14.21.2 as you can see in attached screenshot.
Hi @kaustavdm thanks for the tip.
I already did this many times: the uninstall works, the re-install works, exactly with the command you pasted, but at the end, when I print fdk -v I always get 6.13.2 that’s weird isn’t it? take a look:
This looks like an issue with the installation path. Maybe the fdk command is being picked up from a different place than where npm is installing fdk. Can you search for the path using a command like which fdk and see if you can manually uninstall?