WeWeb Error CodeBuild Failing for a custom component even though app gets published with it

Hi,

I had a custom component which worked pretty fine until two months ago & weweb had some errors with custom components.

Now I am not able to import the same component even with same codebase, it gives CODEBUILD ERROR for that component. ( I am able to import other components. )

Even with same component with same code is working as Version 7 while all other imports after it for same component fail. But the thing is when I set the component at a different version with active version as 10 it gets published with it.

I downloaded the source code of publish & i am able to build the project locally after adjusting some dependencies, weweb in package.json file has some old dependencies of the component which are not anywhere now in the project.

How can i refresh the package.json file, moreover i can also build the component locally w/o any issue. Can i do this w/o contacting support or any other way this issue could be solved where the coded component can not be imported successfully but same or different versions can get published???