Unknown module type

Issue #1631 resolved
Charlie Llewellin created an issue

When I open PhpStorm, it always complains that the Illuminated Cloud plugin is of an unknown type. How do I fix this?

Comments (12)

  1. Scott Wells repo owner

    Hi, Charlie. First, please make sure you're on the latest version of PhpStorm and the Illuminated Cloud 2 plugin. Once you've done that, does a toaster popup show in the bottom-right corner about a module configuration issue? If so, what happens when you click the Resolve link?

  2. Charlie Llewellin reporter

    Thanks Scott - I don't get a Resolve link, in fact. The cog allows me to suppress the error, but not fix it.

  3. Scott Wells repo owner

    Ah, okay. Thanks for clarifying. How was the project created? Somehow the module type was set to IlluminatedCloud. I'll be curious to understand why/how that happened so I can help resolve it, both in this project and in the product if necessary.

  4. Charlie Llewellin reporter

    This was an ongoing project created long before I added the Illuminated Cloud plugin. I added the plugin to work on a Salesforce project fairly recently. As far as I remember, I added the plug-in following instructions from the Illuminated Cloud website - it works fine for the Salesforce project where it is needed.

  5. Charlie Llewellin reporter

    and, opening that project gives the same error plus these two I think I am going to uninstall and re-install and see if that helps.

  6. Scott Wells repo owner

    Charlie, was the .iml file for the project checked into version control? If so, can you see if it's showing as modified right now with the value for <module type"..." set to IlluminatedCloud? That's the issue, and it should just be a matter of changing it back to the correct value for this module.

  7. Scott Wells repo owner

    Also, Charlie, what version of PhpStorm are you using, and what version of the Illuminated Cloud is installed?

  8. Charlie Llewellin reporter

    So I did that and it seems as though the error has not re-occurred. Maybe a one-off glitch with the installation?

  9. Scott Wells repo owner

    Hmmm...I'm not sure. I could review the logs from before the reinstall and see if there's anything obvious in them. Otherwise I'd say just let me know if you see a recurrence of the issue.

  10. Scott Wells repo owner

    Resolving this, but I'm never really comfortable doing so when a problem just seems to go away. I'm definitely happy to review logs from when the problem was occurring to see if that provides any insights.

  11. Log in to comment