Event Log - Unknown Module Type
In the event log at the bottom of the PHP Storm window I often get this message:
4:13:16 PM Unknown Module Type
Cannot determine module type ("RUBY_MODULE") for the following module:"showcase"
The module will be treated as a Unknown module.
FYI, Showcase is the name of my current project and it is a PHP website, nothing to do with Ruby.
Anyone know why I get this message and how I can get it to stop logging this?
Please sign in to leave a comment.
These errors mean that you are opening the project created with RubyMine or Intellij IDEA with Ruby plugin
:) And the modules defined in the project files (located in .idea folder) are not known to PhpStorm
To fix the problem, try the following:
- close the project (File/Close project)
- delete it from the Recent projects list on the Welcome screen: put cursor on a project and hit Delete.
- shut down PhpStorm
- cd to your project directory and delete the .idea folder along with all *.iml files located in the project root/subfolders
- start PhpStorm, open your project directory using File/Open
Hmm... this isn't too useful if you've got a project in CLion, for example, that was previously opened in PyCharm (because the project has cpp and python code). Is there any other way of fixing this?
Try creating separate .idea folder for each of your IDEs then and share the source folder only. For example, create a new empty project in preferred location, then in Settings | Directories add your source folder as a content root to your project.
Elena, could you please give similar instructions for doing this in CLion? I can't find Settings | Directories.
Also, I'd humbly suggest better handling of projects with mixed languages opened in multiple JetBrains products simultaneously. The current error message isn't helpful.
@Eli, I know nothing about CLion, sorry:( Please try asking at https://intellij-support.jetbrains.com/hc/en-us/community/topics/200363649-CLion
I got this message after upgrading to a new version of IDEA. For me the solution was to update the plugins.