infra-geo-ouverte / igo2-lib

Librairie Infrastructure Géomatique Ouverte 2.0 (IGO-2) / Open GIS Infrastructure 2.0 Library
https://infra-geo-ouverte.github.io/igo2-lib/
40 stars 25 forks source link

How to install igo2-lib ver 1.11.1 ? #1076

Closed AkshayGore closed 1 year ago

AkshayGore commented 2 years ago

Please tell us about your environment:

Error: npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@angular-devkit/architect@0.1202.9', npm WARN EBADENGINE required: { npm WARN EBADENGINE node: '^12.14.1 || >=14.0.0', npm WARN EBADENGINE npm: '^6.11.0 || ^7.5.6', npm WARN EBADENGINE yarn: '>= 1.13.0' npm WARN EBADENGINE }, npm WARN EBADENGINE current: { node: 'v14.17.3', npm: '8.10.0' } npm WARN EBADENGINE }

pelord commented 2 years ago

here. I'm running these versions... image

pelord commented 2 years ago

I'll try to update to npm 8 and give you some feedback!

pelord commented 2 years ago

The current version of igo2-lib is based on angular 12.

Angular 12 require npm: '^6.11.0 || ^7.5.6'

I have tried with Node : 'v16.15.1' and npm: '8.11.0'. Here the warn i've got: image

Try to downgrade to npm ^6.11.0 || ^7.5.6 OR This summer, we will update the lib to Angular 14. This might resolve your issue.

pelord commented 2 years ago

for info. I use nvm-window to toggle between my node versions.

image

AkshayGore commented 2 years ago

Thanks So much Its help me lot. Can you please guide me how to set up igo2-api /ldap with this?

pelord commented 2 years ago

I will update the igo2-api this summer with the ldap component.

AkshayGore commented 2 years ago

how to add single component in Angular 12 and node 14.17.1 demo app? For ex. I have created a demo app in Angular 12 and node 14.17.1 environment. what are the steps/or commands library need to be install to run igo2 geo components?

AkshayGore commented 2 years ago

I will update the igo2-api this summer with the ldap component.

Thanks so much. If you upgrade igo2 lib for angular 14 and above its help lots for everyone. Igo2 is very good tool. Only thing is it required documentation/YouTube video of installation and configuration.

AkshayGore commented 2 years ago

how to add single component in Angular 12 and node 14.17.1 demo app? For ex. I have created a demo app in Angular 12 and node 14.17.1 environment. what are the steps/or commands library need to be install to run igo2 geo components?

I am trying to add measure component in my demo app. https://github.com/infra-geo-ouverte/igo2-lib/tree/master/demo/src/app/geo/measure

AkshayGore commented 2 years ago

Please help me

pelord commented 1 year ago

@AkshayGore Sorry for delayed answer.. do you still need some support?