lenneTech/cli

some dependencies are missing

Closed this issue · 1 comments

The current package.json inside app is missing some dependencies to launch the app properly.

With the following setup it works:

"dependencies": {
"@angular/animations": "14.2.12",
"@angular/cdk": "14.2.7",
"@angular/common": "14.2.12",
"@angular/compiler": "14.2.12",
"@angular/core": "14.2.12",
"@angular/forms": "14.2.12",
"@angular/localize": "14.2.12",
"@angular/platform-browser": "14.2.12",
"@angular/platform-browser-dynamic": "14.2.12",
"@angular/platform-server": "14.2.12",
"@angular/router": "14.2.12",
"@apollo/client": "3.7.8",
"@lenne.tech/ng-base": "14.36.0",
"@ng-bootstrap/ng-bootstrap": "13.1.1",
"@nguniversal/express-engine": "14.2.3",
"@popperjs/core": "2.11.6",
"apollo-angular": "4.2.1",
"bootstrap": "5.2.3",
"bootstrap-icons": "1.10.3",
"compression": "1.7.4",
"compressorjs": "1.2.1",
"express": "4.18.2",
"graphql": "16.6.0",
"graphql-ws": "5.11.3",
"js-sha256": "0.9.0",
"localstorage-polyfill": "1.0.1",
"ngx-image-cropper": "6.3.2",
"rxjs": "7.5.7",
"tslib": "2.4.1",
"zone.js": "0.11.8" 
},

"devDependencies": {
"@angular-devkit/build-angular": "14.2.10",
"@angular-eslint/builder": "14.4.0",
"@angular-eslint/eslint-plugin": "14.4.0",
"@angular-eslint/eslint-plugin-template": "14.4.0",
"@angular-eslint/schematics": "14.4.0",
"@angular-eslint/template-parser": "14.4.0",
"@angular/cli": "14.2.10",
"@angular/compiler-cli": "14.2.12",
"@nguniversal/builders": "14.2.3",
"@types/compression": "1.7.2",
"@types/express": "4.17.17",
"@types/jasmine": "4.3.1",
"@types/node": "18.11.18",
"@typescript-eslint/eslint-plugin": "5.52.0",
"@typescript-eslint/parser": "5.52.0",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-prettier": "4.2.1",
"jasmine-core": "4.5.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": "2.0.0",
"typescript": "4.8.4"
},

Packages i updated:
"@lenne.tech/ng-base": "14.36.0",
--> in dependencies

"@types/node": "18.11.18",
--> in devDependencies

Packaged i added:
"@angular/localize": "14.2.12",
"@ng-bootstrap/ng-bootstrap": "13.1.1",
"@popperjs/core": "2.11.6",
"compressorjs": "1.2.1",
"js-sha256": "0.9.0",
"ngx-image-cropper": "6.3.2",
--> to dependencies

I have updated the NgBaseStarter (which is used in the CLI when creating a new Angular project) to version 14.36.2 (see Commit ).

Please try again and reopen this issue if something still does not work.