cancel
Showing results for 
Search instead for 
Did you mean: 

error with module on new install

error with module on new install

Hi, I have just installed fresh magento 2.4.7 in a windows docker wsl2. I used the docker magento install this went fine. https://github.com/markshust/docker-magento

I am struggle to get this install https://github.com/IcecatNV/magento-extension

Errors i get if i just install it after installing the docker magento (above)

Problem 1


- Root composer.json requires icecat/magento2-extension ^2.0 -> satisfiable by icecat/magento2-extension[2.0.0].
- icecat/magento2-extension 2.0.0 requires magento/framework ~102.0|~103.0 -> could not be found in any version, there may be a typo in the package name.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require icecat/magento2-extension:*" to figure out if any version is installable, or "composer require icecat/magento2-extension:^2.1" if you know which you need.

 

  • Another error i get if i add if i copy 2.4.7p1 files that seem to be missing( i tested by copying the entire files system over existing) from the docker magento github. any help would be great

 

/home/everest/Sites/magento/lib/internal/Magento/Framework/Config/Dom.php at line: 463
Class "DOMDocument" not found#0 /home/everest/Sites/magento/lib/internal/Magento/Framework/Config/Dom.php(115): Magento\Framework\Config\Dom->_initDom()
#1 /home/everest/Sites/magento/lib/internal/Magento/Framework/ObjectManager/Config/Reader/Dom.php(70): Magento\Framework\Config\Dom->__construct()
#2 /home/everest/Sites/magento/lib/internal/Magento/Framework/Config/Reader/Filesystem.php(151): Magento\Framework\ObjectManager\Config\Reader\Dom->_createConfigMerger()
#3 /home/everest/Sites/magento/lib/internal/Magento/Framework/Config/Reader/Filesystem.php(131): Magento\Framework\Config\Reader\Filesystem->_readFiles()
#4 /home/everest/Sites/magento/lib/internal/Magento/Framework/App/ObjectManagerFactory.php(279): Magento\Framework\Config\Reader\Filesystem->read()
#5 /home/everest/Sites/magento/lib/internal/Magento/Framework/App/ObjectManagerFactory.php(140): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig()
#6 /home/everest/Sites/magento/lib/internal/Magento/Framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create()
#7 /home/everest/Sites/magento/lib/internal/Magento/Framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#8 /home/everest/Sites/magento/lib/internal/Magento/Framework/Console/Cli.php(187): Magento\Framework\App\Bootstrap::create()
#9 /home/everest/Sites/magento/lib/internal/Magento/Framework/Console/Cli.php(85): Magento\Framework\Console\Cli->initObjectManager()
#10 /home/everest/Sites/magento/bin/magento(22): Magento\Framework\Console\Cli->__construct()
#11 {main}

 

Thanks in advance

1 REPLY 1

Re: error with module on new install

The IcecatNV/magento-extension version 2.0.0 extension is compatible with Magento ver. 2.4.5-p1

 

You are running Magento 2.4.7.

 

That being said, the second part where you tried to copy some missing code... this part I don't understand at all, what missing code from where to where? How do you know it's missing?

Founder at https://agency418.com