Software Archive
Read-only legacy content
17061 Discussions

Illegal Invocation

aykut_y_
Beginner
372 Views

Hi guys;

i get this error message when i try to add any plugin to my cordova project.

os: macos Sierra 10.12.2

intel xdk version: 3759

what should i do?

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
372 Views

Another user reported the same error message > https://software.intel.com/en-us/forums/intel-xdk/topic/705941 <

It obviously has something to do with the underlying "cordova plugin add" process that is being performed under the hood to add plugins to your project. Whether or not the situation described in the link above is comparable to yours would be good to know. The solution I provided there is not yet proven to be correct, as I was only able to partially reproduce the issue.

0 Kudos
PaulF_IntelCorp
Employee
372 Views

I am unable to reproduce the issue using the project you provided. I'm also using a Mac with same version of Sierra. The only thing I can think of is to try clearing the local XDK cache. Use the process outlined in the fourth bullet in this FAQ > https://software.intel.com/en-us/xdk/faqs/general#recover-xdk < and be sure to make a copy of the global-settings.xdk file first, then put it back after you've deleted everything, but before you re-open the XDK.

0 Kudos
aykut_y_
Beginner
372 Views

thanks for support.

I tried that you suggest process and unfortunately  the result did not change. still get the same error same way.

should i try uninstall completely? is there any link to help me complete uninstall or just click  intel xdk uninstaller will it be enough?

0 Kudos
PaulF_IntelCorp
Employee
372 Views

Here's a link to do a complete uninstall (on a Mac it's pretty easy) > https://software.intel.com/en-us/xdk/faqs/general#uninstall-xdk < note that the latest version adds an extra folder during install, which is not described in that FAQ. If you find the old copy still in your /Applications folder, then remove that one, as well.

0 Kudos
PaulF_IntelCorp
Employee
372 Views

For anyone who is reading this thread, please try the recommendation provided here > https://software.intel.com/en-us/forums/intel-xdk/topic/707314 < and report on that thread if those recommendations solved this issue for you.

0 Kudos
Reply