How to debug monorepo with: Bundle group cannot have more than one entry bundle of the same type #5074
Replies: 2 comments 8 replies
-
Maybe logging parcel/packages/namers/default/src/DefaultNamer.js Lines 26 to 35 in c4e494f In the published npm package, it's in the https://unpkg.com/browse/@parcel/[email protected]/lib/DefaultNamer.js |
Beta Was this translation helpful? Give feedback.
-
I may have a little bit of new information here. I have this same problem, but if I remove either the I don't know of a work around for this apart from running parcel once for each output target, which seems inelegant. |
Beta Was this translation helpful? Give feedback.
-
I downloaded the latest beta (
2.0.0-beta.1
).We are using svg-as-react-component-imports so I needed to add a
.parcelrc
file:Now I get this when I run
yarn parcel packages/*
.How do I begin debugging this? Can I somehow get the original filenames of the conflicting bundles if I put a well-placed console.log somewhere?
Every package.json specifies their own types, module, source like so:
Beta Was this translation helpful? Give feedback.
All reactions