Comments (3)
The steps to update the angular version are:
npm i
npm update
ng update --force --all
The output of the last command are:
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=3.4 <3.5", would install "3.5.3")
Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=3.1 < 3.5", would install "3.5.3")
Package "@angular/http" has an incompatible peer dependency to "@angular/core" (requires "7.2.15", would install "8.1.3")
Package "nvd3" has an incompatible peer dependency to "d3" (requires "^3.4.4", would install "5.9.7").
Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.9.1", would install "0.10.0")
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=3.4 <3.5", would install "3.5.3").
Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.9.1", would install "0.10.0").
Updating package.json with dependency @angular/cli @ "8.1.2" (was "7.2.2")...
Updating package.json with dependency @types/d3 @ "5.7.2" (was "3.5.40")...
Updating package.json with dependency @angular/language-service @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @types/nvd3 @ "1.8.39" (was "1.8.38")...
Updating package.json with dependency codelyzer @ "5.1.0" (was "4.3.0")...
Updating package.json with dependency node-sass @ "4.12.0" (was "4.9.0")...
Updating package.json with dependency @angular/compiler-cli @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @angular-devkit/build-angular @ "0.801.2" (was "0.6.5")...
Updating package.json with dependency stylelint-config-recommended-scss @ "3.3.0" (was "3.2.0")...
Updating package.json with dependency stylelint-config-standard @ "18.3.0" (was "18.2.0")...
Updating package.json with dependency ts-node @ "8.3.0" (was "6.0.5")...
Updating package.json with dependency tslint @ "5.18.0" (was "5.10.0")...
Updating package.json with dependency tslint-angular @ "3.0.2" (was "1.1.2")...
Updating package.json with dependency stylelint-scss @ "3.9.2" (was "3.1.0")...
Updating package.json with dependency stylelint @ "10.1.0" (was "9.2.1")...
Updating package.json with dependency @angular/http @ "7.2.15" (was "7.2.1")...
Updating package.json with dependency @angular/forms @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency core-js @ "3.1.4" (was "2.5.6")...
Updating package.json with dependency tslint-config-airbnb @ "5.11.1" (was "5.9.2")...
Updating package.json with dependency @angular/compiler @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency d3 @ "5.9.7" (was "3.5.17")...
Updating package.json with dependency @types/node @ "12.6.8" (was "10.1.2")...
Updating package.json with dependency @angular/core @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency typescript @ "3.5.3" (was "3.4.5")...
Updating package.json with dependency @angular/platform-browser @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @angular/common @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency rxjs @ "6.5.2" (was "6.3.3")...
Updating package.json with dependency @angular/animations @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @angular/platform-browser-dynamic @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency zone.js @ "0.10.0" (was "0.8.28")...
Updating package.json with dependency @angular/router @ "8.1.3" (was "7.2.1")...
UPDATE package.json (2254 bytes)
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/1203(node:16290) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning " > @angular/[email protected]" has incorrect peer dependency "zone.js@~0.9.1".
warning " > @angular/[email protected]" has incorrect peer dependency "@angular/[email protected]".
warning " > @angular/[email protected]" has incorrect peer dependency "@angular/[email protected]".
warning " > [email protected]" has incorrect peer dependency "@angular/common@^7.2.0".
warning " > [email protected]" has incorrect peer dependency "@angular/core@^7.2.0".
With the command: ng update --force
You will see the next output:
We analyzed your package.json, there are some packages to update:
Name Version Command to update
--------------------------------------------------------------------------------
@angular/cli 7.2.2 -> 8.1.2 ng update @angular/cli
@angular/core 7.2.1 -> 8.1.3 ng update @angular/core
@angular/core 7.2.1 -> 7.2.15 ng update @angular/core
rxjs 6.3.3 -> 6.5.2 ng update rxjs
There might be additional packages that are outdated.
Run "ng update --all" to try to update all at the same time.
Refer to this bug: angular/angular-cli#15134
from material-angular-dashboard.
With the latest commands, if you run:
npm start
The output is:
ERROR in The Angular Compiler requires TypeScript >=3.4.0 and <3.5.0 but 3.5.3 was found instead.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
ℹ 「wdm」: Failed to compile.
Then:
npm install typescript@">=3.4.0 <3.5.0" --save-dev
But i got a lot of errors, i need to install all again with:
rm -rf node_modules
npm i
from material-angular-dashboard.
Master branch has been updated to version 8.2.14
from material-angular-dashboard.
Related Issues (20)
- Graphic issue: Checkbox in Avatars and controls list HOT 2
- Upgrade angular version to 7x
- Add shadows to the tables
- Bug: submenu doesn't always close
- Compilation failure: Cannot find module 'ng-getmdl-select'. HOT 2
- Dropdown selection issue
- Use npm instead of yarn
- Build this project by the configuration to the production target always be wrong HOT 6
- Trouble creating or cloning new pages
- ng build --prod HOT 4
- Dialog not displayed HOT 4
- Demo branch contact us dialog is not closed on close button HOT 1
- features/ag-grid: SassError: File to import not found or unreadable
- mat-select is not working
- all features branches + new: ui->ad-grid-tables: no left sidebar button when it is hidden
- branch: features/backend. App>investigations>investigation: navigation path's links are not formed correctly
- (click) function not showing up in button table
- Is this compatible with https://material.angular.io/
- Graphic issue: Project checkbox list - first checkbox HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-angular-dashboard.