I’m on a McBook Pro, latest OS, using Docker Mac and MarkShust setup, with Magento 2.4.8-p2. I’m trying to get a new urn assigned as I try to create a new test module. I’m in developer mode.
I’ve created the .idea dir and have full r/w access. Same with misc.xml inside that folder.
I run the command:
bin/magento dev:urn-catalog:generate .idea/misc.xml
Even with:
bin/magento dev:urn-catalog:generate /Users/myuser/Sites/magento/.idea/misc.xml
I’m still getting the following error:
In File.php line 666:
File ".idea/misc.xml" cannot be opened Warning!fopen(.idea/misc.xml): Failed to open stream: No such file or directory
dev:urn-catalog:generate [--ide IDE] [--] <path>
No matter what version of directory and file I enter, no dice.
THe structure I’m using is /Users/myuser/Sites/magento/.idea
Obviously, on Mac, the .idea folder is a hidden folder and there’s no means to make it visible without changing the name to remove the leading period. I don’t know if this is part of the issue (although I tried creating a new idea folder without the period and that did no good), but this is standard Mac stuff, so that shouldn’t be an issue.
Any ideas?
Thanks.