Component id (0) exists more than once in current package

%3CLINGO-SUB%20id%3D%22lingo-sub-1575301%22%20slang%3D%22en-US%22%3EComponent%20id%20(0)%20exists%20more%20than%20once%20in%20current%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1575301%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI'm%20getting%20on%20the%20web%20part%20I'm%20trying%20to%20deploy%20in%20the%20app%20catalog.%20I%20used%20to%20deploy%20and%20replace%20the%20existing%20web%20part%20package%20but%20now%20when%20I'm%20trying%20to%20upload%20the%20package%20I'm%20getting%3C%2FP%3E%3CP%3E%22component%20id%20(0)%20exists%20more%20than%20once%20in%20current%20package%22%3C%2FP%3E%3CP%3EAny%20advise%20%3F%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E-Sal%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1575301%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1576983%22%20slang%3D%22en-US%22%3ERe%3A%20Component%20id%20(0)%20exists%20more%20than%20once%20in%20current%20package%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1576983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F736673%22%20target%3D%22_blank%22%3E%40ejagmtg%3C%2FA%3E%26nbsp%3Bdeleted%20existing%20package%20then%20follow%20these%20steps%20to%20resolved%20the%20issue.%3C%2FP%3E%3CP%3Eclean%20files%20from%20these%20folders%3C%2FP%3E%3CP%3Edist%3C%2FP%3E%3CP%3Esharepoint%2Fsolution%3C%2FP%3E%3CP%3Etemp%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20repackaged%20them%3C%2FP%3E%3CP%3Egulp%20clean%3C%2FP%3E%3CP%3Egulp%20bundle%20--ship%3C%2FP%3E%3CP%3Egulp%20package-solution%20--ship%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

I'm getting on the web part I'm trying to deploy in the app catalog. I used to deploy and replace the existing web part package but now when I'm trying to upload the package I'm getting

"component id (0) exists more than once in current package"

Any advise ?

Thanks,

-Sal

1 Reply

@ejagmtg deleted existing package then follow these steps to resolved the issue.

clean files from these folders

dist

sharepoint/solution

temp

 

and repackaged them

gulp clean

gulp bundle --ship

gulp package-solution --ship