Closed challamzinniagroup closed 6 years ago
Thanks! We'll change this.
@Bloodcast69 Good morning, thanks for the quick reply. Is there a specific npm command required to install the Angular 6 version? Upon running the command as instructed, and shown below, I get the following output:
$ npm i angular-bootstrap-md --save
npm WARN angular-bootstrap-md@6.1.1 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@6.1.1 requires a peer of @angular/common@^5.0.0 bu t none is installed. You must install peer dependencies yourself.
npm WARN angular-bootstrap-md@6.1.1 requires a peer of @angular/http@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fse vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"} )
I have all of these modules already as this is on a brand new project created from the AngularCLI (v6.0.7) with Angular (v6.0.3).
It seems from the output from the command that perhaps the default npm install is still the v5x?
Can you offer any insight or clarification please?
Thanks!
Edit to add:
I am also experiencing issues with:
.. What looks like a broken link to the chart.js
location (it seems to be backing up one directory too far).
.. Several instances of deprecated SASS @mixins.
Am I mistaken that the latest MDB is fully compat with latest Angular, SASS, etc.? Or is it perhaps still in-progress?
Thanks again!
@Bloodcast69 Adding (once again) to my previous comment - the source here appears to be fully ng6.0 ready. I'm wondering now if perhaps the npm has not been updated to match? I will pull the repo and try to get it running from there. :)
@challamzinniagroup those warnings are described in our FAQ: https://mdbootstrap.com/angular/faq/ Best Regards, Damian
@Bloodcast69 Thank you for pointing me to this - I had not seen it previously! :)
The installation instructions (via npm) indicate how to edit the
angular-cli.json
file to change thecss
extension toscss
.This is different for projects created from the cli as of Angular 6. The file is now called
angular.json
(they have omitted the-cli
. The edit is different. It now should be:It would be helpful to have your instructions updated to demonstrate both versions.
Thanks!