Open Brendy89tm opened 9 months ago
On Angular application, that I'm usign aws-amplify, the compiler returns error on this file: AmplifyMapLibreRequest.d.ts
on that file is imported MapOptions from 'maplibre-gl', but MapOptions doesn't exist.
the suggestion is to import MapboxOptions
I use: "dependencies": { "@angular/animations": "^15.2.9", "@angular/cdk": "^14.2.7", "@angular/common": "^15.2.9", "@angular/compiler": "^15.2.9", "@angular/core": "^15.2.9", "@angular/elements": "^15.2.9", "@angular/forms": "^15.2.9", "@angular/localize": "^15.2.9", "@angular/material": "^14.2.7", "@angular/material-moment-adapter": "^14.2.7", "@angular/platform-browser": "^15.2.9", "@angular/platform-browser-dynamic": "^15.2.9", "@angular/router": "^15.2.9", "@fortawesome/angular-fontawesome": "^0.12.1", "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-regular-svg-icons": "^6.2.0", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@maplibre/maplibre-gl-geocoder": "^1.5.0", "@microsoft/signalr": "^8.0.0", "@ng-bootstrap/ng-bootstrap": "^14.2.0", "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", "@popperjs/core": "^2.11.6", "angular-datatables": "^13.1.0", "angularx-qrcode": "^15.0.1", "apexcharts": "^3.42.0", "aws-amplify": "^6.0.12", "bootstrap": "^5.2.2", "datatables.net": "^1.11.3", "datatables.net-bs5": "^1.11.3", "document-register-element": "^1.7.2", "flag-icons": "^6.6.6", "iso-3166-1": "^2.1.1", "jquery": "^3.6.1", "jsvat": "^2.5.3", "levenshtein-edit-distance": "^3.0.1", "maplibre-gl": "^1.15.3", "maplibre-gl-js-amplify": "^4.0.0", "moment": "^2.29.4", "ng-apexcharts": "^1.8.0", "ng2-completer": "^9.0.1", "ngx-image-zoom": "^2.1.0", "node-forge": "^1.3.1", "package": "^1.0.1", "pdfmake": "^0.2.5", "rxjs": "^6.6.7", "tslib": "^2.4.0", "zone.js": "^0.11.8" }, "devDependencies": { "@angular-devkit/build-angular": "^15.2.9", "@angular/cli": "^15.2.9", "@angular/compiler-cli": "^15.2.9", "@types/datatables.net": "^1.10.24", "@types/jasmine": "^4.3.0", "@types/jquery": "^3.5.9", "@types/js-levenshtein": "^1.1.3", "@types/mapbox__mapbox-gl-draw": "^1.4.6", "@types/node": "^20.6.0", "@types/node-forge": "^1.3.5", "jasmine-core": "^4.4.0", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", "karma-coverage": "^2.2.0", "karma-jasmine": "^5.1.0", "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~4.9.5" },
The solution for now is to set on tsconfig.json => "skipLibCheck": true
On Angular application, that I'm usign aws-amplify, the compiler returns error on this file: AmplifyMapLibreRequest.d.ts
on that file is imported MapOptions from 'maplibre-gl', but MapOptions doesn't exist.
the suggestion is to import MapboxOptions
I use: "dependencies": { "@angular/animations": "^15.2.9", "@angular/cdk": "^14.2.7", "@angular/common": "^15.2.9", "@angular/compiler": "^15.2.9", "@angular/core": "^15.2.9", "@angular/elements": "^15.2.9", "@angular/forms": "^15.2.9", "@angular/localize": "^15.2.9", "@angular/material": "^14.2.7", "@angular/material-moment-adapter": "^14.2.7", "@angular/platform-browser": "^15.2.9", "@angular/platform-browser-dynamic": "^15.2.9", "@angular/router": "^15.2.9", "@fortawesome/angular-fontawesome": "^0.12.1", "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-regular-svg-icons": "^6.2.0", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@maplibre/maplibre-gl-geocoder": "^1.5.0", "@microsoft/signalr": "^8.0.0", "@ng-bootstrap/ng-bootstrap": "^14.2.0", "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", "@popperjs/core": "^2.11.6", "angular-datatables": "^13.1.0", "angularx-qrcode": "^15.0.1", "apexcharts": "^3.42.0", "aws-amplify": "^6.0.12", "bootstrap": "^5.2.2", "datatables.net": "^1.11.3", "datatables.net-bs5": "^1.11.3", "document-register-element": "^1.7.2", "flag-icons": "^6.6.6", "iso-3166-1": "^2.1.1", "jquery": "^3.6.1", "jsvat": "^2.5.3", "levenshtein-edit-distance": "^3.0.1", "maplibre-gl": "^1.15.3", "maplibre-gl-js-amplify": "^4.0.0", "moment": "^2.29.4", "ng-apexcharts": "^1.8.0", "ng2-completer": "^9.0.1", "ngx-image-zoom": "^2.1.0", "node-forge": "^1.3.1", "package": "^1.0.1", "pdfmake": "^0.2.5", "rxjs": "^6.6.7", "tslib": "^2.4.0", "zone.js": "^0.11.8" }, "devDependencies": { "@angular-devkit/build-angular": "^15.2.9", "@angular/cli": "^15.2.9", "@angular/compiler-cli": "^15.2.9", "@types/datatables.net": "^1.10.24", "@types/jasmine": "^4.3.0", "@types/jquery": "^3.5.9", "@types/js-levenshtein": "^1.1.3", "@types/mapbox__mapbox-gl-draw": "^1.4.6", "@types/node": "^20.6.0", "@types/node-forge": "^1.3.5", "jasmine-core": "^4.4.0", "karma": "^6.4.1", "karma-chrome-launcher": "^3.1.1", "karma-coverage": "^2.2.0", "karma-jasmine": "^5.1.0", "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~4.9.5" },
The solution for now is to set on tsconfig.json => "skipLibCheck": true