I have a plain simple angular project with the following package.json: { "name": "enhanced-kendo-grid", "version": "1.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test" }, "private": true, "dependencies": { "@angular/animations": "^18.2.13", "@angular/common": "^18.2.13", "@angular/compiler": "^18.2.13", "@angular/core": "^18.2.13", "@angular/forms": "^18.2.13", "@angular/localize": "^18.2.13", "@angular/platform-browser": "^18.2.13", "@angular/platform-browser-dynamic": "^18.2.13", "@angular/router": "^18.2.13", "@progress/kendo-angular-buttons": "^16.1.0", "@progress/kendo-angular-common": "^16.1.0", "@progress/kendo-angular-dateinputs": "^16.1.0", "@progress/kendo-angular-dialog": "^16.1.0", "@progress/kendo-angular-dropdowns": "^16.1.0", "@progress/kendo-angular-excel-export": "^16.1.0", "@progress/kendo-angular-grid": "^16.1.0", "@progress/kendo-angular-icons": "^16.1.0", "@progress/kendo-angular-inputs": "^16.1.0", "@progress/kendo-angular-intl": "^16.1.0", "@progress/kendo-angular-l10n": "^16.1.0", "@progress/kendo-angular-label": "^16.1.0", "@progress/kendo-angular-layout": "^16.1.0", "@progress/kendo-angular-pdf-export": "^16.1.0", "@progress/kendo-angular-popup": "^16.1.0", "@progress/kendo-angular-progressbar": "^16.1.0", "@progress/kendo-angular-treeview": "^16.1.0", "@progress/kendo-angular-utils": "^16.1.0", "jquery": "^3.7.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.10" }, "devDependencies": { "@angular-devkit/build-angular": "^18.2.15", "@angular/cli": "^18.2.15", "@angular/compiler-cli": "^18.2.13", "@types/jasmine": "~4.3.0", "@types/jquery": "^3.5.30", "jasmine-core": "~4.6.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "ng-packagr": "^18.2.1", "typescript": "~5.4.5" } } I was updating from Angular 16 to 19. Updating to 17 went fine. But while updating to 18 I got these errors: npm error code 1 npm error path C:\xxxx\Devs\enhanced-kendo-grid\node_modules\lmdb npm error command failed npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build-optional-packages I have tried the followings: install node-gyp and node-gyp-build-optional-packages globally delete the node_modules folder clean the npm cache deinstall and reinstall node js npm install --no-optional After all this tries I got always the same error. Any other ideas? Continue reading...