question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Found > 1 "module.xml" for the module

See original GitHub issue

These Mirasvit modules are really throwing some curve balls.

Error: Found > 1 "module.xml" for the module at path "vendor/mirasvit/module-search"
    at findRealModuleRoot (/Users/scottfriend/Sites/baler/src/magentoFS.ts:247:15)
    at processTicksAndRejections (internal/process/task_queues.js:89:5)
    at getModuleConfig (/Users/scottfriend/Sites/baler/src/magentoFS.ts:204:28)
    at async Promise.all (index 151)
    at getComposerComponents (/Users/scottfriend/Sites/baler/src/magentoFS.ts:332:18)
    at async Promise.all (index 0)
    at Object.getComponents (/Users/scottfriend/Sites/baler/src/magentoFS.ts:62:37)
    at async Promise.all (index 1)
    at Object.collectStoreData (/Users/scottfriend/Sites/baler/src/collectStoreData.ts:15:58)
    at Object.run (/Users/scottfriend/Sites/baler/src/cli.ts:20:19)

Here’s the abbreviated directory structure of this module: vendor/mirasvit/module-search

  • CHANGELOG.md
  • composer.json
  • src
    • Search
      • composer.json
      • etc
        • module.xml
      • registration.php
    • SearchElasticNative …
      • composer.json
      • etc
        • module.xml
      • registration.php

I’m really not sure why it makes sense to have two Mage modules inside one composer module =/

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DrewMLcommented, Aug 29, 2019

Instead of the fix mentioned above, #12 should take care of this problem when it’s finished.

0reactions
friendscottncommented, Aug 29, 2019

Yep I think that did it. Nice work! That fixes #10 and this one

Read more comments on GitHub >

github_iconTop Results From Across the Web

JBoss AS 7.1 - how to include all in module.xml when creating ...
I have to create a module for Spring framework - org.springframework. There are many jars, is there a way to say: include all...
Read more >
if you can't make a module.xml... - JBoss.org
I am trying to connect to an oracle db on openshift. I am following instructions from here. Since I cannot make a.
Read more >
Chapter 7. Configuring Modules JBoss Enterprise Application ...
The name of the module is defined in the module.xml file. All the application server provided APIs are provided as static modules, including...
Read more >
Defining a module: format of module XML files - Google Code
google-web-toolkit-doc-1-5 - DevGuideModuleXml.wiki ... Module XML files are found on the Java classpath. Modules are always referred to by their logical ...
Read more >
xml.etree.ElementTree — The ElementTree XML API ...
Source code: Lib/xml/etree/ElementTree.py The xml.etree.ElementTree module implements a simple and efficient API for parsing and creating XML data.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found