Created
December 19, 2015 11:06
-
-
Save bka/d44fb33d1eaf780e1b76 to your computer and use it in GitHub Desktop.
Magento2: Copy Paste Error in Module name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bin/magento | |
We're sorry, an error occurred. Try clearing the cache and code generation directories. By default, they are: var/cache, var/di, var/generation, and var/page_cache. | |
[Zend\ServiceManager\Exception\ServiceNotCreatedException] | |
An abstract factory could not create an instance of magentosetupconsolecommandmoduleuninstallcommand(alias: Magento\Setup\Console\Command\ModuleUninstallC | |
ommand). | |
[Zend\ServiceManager\Exception\ServiceNotCreatedException] | |
An exception was raised while creating "Magento\Setup\Console\Command\ModuleUninstallCommand"; no instance returned | |
[Magento\Framework\Exception\FileSystemException] | |
The file "/composer.json" doesn't exist | |
=================================================== | |
// Foo_Bar' Quote in module name was the cause .... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd"> | |
<module name="Foo_Bar'" setup_version="0.0.1" data_version="0.0.1"/> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mbahar Thank you this one works