I'm running the following command "magento dev:urn-catalog:generate .idea/misc.xml " to use the functionality of Magento 2 to automatically resolve all my URN's so PhpStorm will stop giving me warnings and errors.

But i get this error: File ".idea/misc.xml" cannot be opened Warning!fopen(.idea/misc.xml): failed to open stream: No such file or directory

Although i do work with PhpStorm, and the folder and file: .idea/misc.xml do exist.

Any suggestions..? Thank you

  • are you using the magento2 plugin for PHPStorm? – Philipp Sander Jun 19 '19 at 12:43
  • no, i'm using another task runner, b5 its called if you check on Git. – Theodor_D. Jun 19 '19 at 12:46
  • I don't know b5, but I would say you can't compare this to the magento2 plugin github.com/magento/magento2-phpstorm-plugin – Philipp Sander Jun 19 '19 at 12:48
  • ok i'm checking it now and will try it, but i don't see how this will fix my issue. – Theodor_D. Jun 19 '19 at 12:58
  • the plugin can generate the urn map for you – Philipp Sander Jun 19 '19 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.