Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maplibre-gl-js not working with Angular 16 #3

Open
1616255 opened this issue Jul 11, 2023 · 0 comments
Open

maplibre-gl-js not working with Angular 16 #3

1616255 opened this issue Jul 11, 2023 · 0 comments

Comments

@1616255
Copy link

1616255 commented Jul 11, 2023

Following the guide at https://docs.maptiler.com/angular/maplibre-gl-js/how-to-use-maplibre-gl-js/ with Angular version 16, or updating this repo to Angular 16, results in the following error:

Error: node_modules/maplibre-gl/dist/maplibre-gl.d.ts:5701:21 - error TS2503: Cannot find namespace 'NodeJS'. 5701 _updateHash: () => NodeJS.Timeout;

This issue is reproducible

Environment Details:

  • Node version: v18.16.1
  • Angular version: 16.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant