types-ol-ext icon indicating copy to clipboard operation
types-ol-ext copied to clipboard

Angular CLI incompatibility

Open RDUser-dev opened this issue 1 year ago • 3 comments

Hi @Siedlerchr thanks for the grate job, We have some problem with this package and the ng update command. We have filled an issue to the Angular CLI team https://github.com/angular/angular-cli/issues/28373 but it was closed as not planned. Basically Angular ng update not resolving the correct NPM package because of the NPM alias that your repo use for installation. Do you have any possible suggestion for a workaround?

RDUser-dev avatar Sep 09 '24 10:09 RDUser-dev

Have you tried uninstalling, updating, and then reinstalling again?

npm uninstall @types/ol-ext
ng update
npm i -D @types/ol-ext@npm:@siedlerchr/types-ol-ext

javier-lopez-1s avatar Oct 01 '24 09:10 javier-lopez-1s

Have you tried uninstalling, updating, and then reinstalling again?

npm uninstall @types/ol-ext
ng update
npm i -D @types/ol-ext@npm:@siedlerchr/types-ol-ext

yes it is the workaroud that we currently use to update angular.. but it is quite strange and cumbersome as a thing. I think it would be enough to provide your types via https://github.com/DefinitelyTyped/DefinitelyTyped but I don't know in detail how to do it

RDUser-dev avatar Oct 01 '24 12:10 RDUser-dev

I'm experiencing the same problem with ng update. Any news?

MatteoBarbieriSacmi avatar Mar 10 '25 07:03 MatteoBarbieriSacmi

I am sorry, the https://www.npmjs.com/package/types-ol-ext does not belong to me, it was registered by someone else, I have no idea

Siedlerchr avatar Mar 31 '25 19:03 Siedlerchr

You're right @Siedlerchr, looking with npm owner ls types-ol-ext I actually see that the bundle belongs to a certain Anthony Bourque. It would be nice to try to contact him to try to get the ownership back. Anyway thanks for the work, but we were forced to remove the dependency on types-ol-ext from our project because of the issue. In case in the future we will gladly reinsert it. Thanks again

RDUser-dev avatar Apr 02 '25 15:04 RDUser-dev