Topic: Quick start guide documentation could be clearer
Mark Olive pro asked 6 years ago
Following your example to create a new mdb project there are loads of dependency version problems.
ng new testmdb --style=scss
npm install angular-bootstrap-md --save
The angular-bootstrap-md package seems to require 5.1.2 angular, but the 'ng new' installs angular version 5.2.3. It's really messy then trying to downgrade all the dependancies to work with mdbootstrap.
See:https://mdbootstrap.com/angular/5min-quickstart
Step 1: Create new angular project using Angular CLI command:
ng new your-angular-project --style=scss
Step 2:
cd your-angular-project
Step 3: GitHub npm install
npm i angular-bootstrap-md --save
......................
npm WARN angular-bootstrap-md@5.1.2 requires a peer of @angular/animations@5.0.0 - 5.1.2 but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of @angular/common@5.0.0 - 5.1.2 but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of @angular/compiler@5.0.0 - 5.1.2 but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of @angular/core@5.0.0 - 5.1.2 but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of @angular/forms@5.0.0 - 5.1.2 but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of chart.js@2.5.x but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of hammerjs@2.0.x but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of font-awesome@4.7.x but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@5.1.2 requires a peer of @agm/core@~1.0.0-beta.2 but none is installed. You must install peer dependencies yourself.+ angular-bootstrap-md@5.1.2added 2 packages in 26.215s
Damian Gemza staff answered 6 years ago
Mark Olive pro commented 6 years ago
Thanks, I understand, however this is confusing to a newbie. It would be good if the documentation in the quick start explained that the warnings can be ignored. Otherwise people will think that there is a problem and then spend hours googling for solutions.Damian Gemza staff commented 6 years ago
Oh, it could be frustrating. Thanks for yours opinion. Well add this to our docsFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No