Progress Spinner is not working in angular material v2.0.0-beta.12
See original GitHub issueBug:
Progress spinner is not working in v2.0.0-beta.12. I am getting an error as:
compiler.es5.js:1689 Uncaught Error: Can't resolve all parameters for MatProgressSpinner:
([object Object], [object Object], [object Object], ?).
at syntaxError (compiler.es5.js:1689)
Also, Angular cli is throwing a warning as:
WARNING in ./node_modules/@angular/material/esm5/progress-spinner.es5.js
230:83-91 "export 'DOCUMENT' was not found in '@angular/common'
I checked the above file which is ./node_modules/@angular/material/esm5/progress-spinner.es5.js
and realised that it is trying to import { DOCUMENT } from '@angular/common';
which is possibly not present in the version of angular common (v4.2.4), which I am using right now.
After commenting out this line, angular cli stopped throwing an error, but progress spinner is not working as this is required dependency for it.
What is the current behavior?
angular cli build is throwing warning and progress spinner is not working
What are the steps to reproduce?
Updating angular material from 2.0.0-beta.11 to 2.0.0-beta.12.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"dependencies": {
"@angular/animations": "4.2.4",
"@angular/cdk": "2.0.0-beta.12",
"@angular/common": "4.2.4",
"@angular/compiler": "4.2.4",
"@angular/core": "4.2.4",
"@angular/forms": "4.2.4",
"@angular/http": "4.2.4",
"@angular/material": "2.0.0-beta.12",
"@angular/platform-browser": "4.2.4",
"@angular/platform-browser-dynamic": "4.2.4",
"@angular/router": "4.2.4",
"core-js": "2.4.1",
"rxjs": "5.4.2",
"zone.js": "0.8.14"
},
"devDependencies": {
"@angular/cli": "1.3.2",
"@angular/compiler-cli": "4.2.4",
"@angular/language-service": "4.2.4",
"@types/jasmine": "2.5.53",
"@types/jasminewd2": "2.0.2",
"@types/node": "6.0.60",
"codelyzer": "3.1.1",
"jasmine-core": "2.6.2",
"jasmine-spec-reporter": "4.1.0",
"karma": "1.7.0",
"karma-chrome-launcher": "2.1.1",
"karma-cli": "1.0.1",
"karma-coverage-istanbul-reporter": "1.2.1",
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"protractor": "5.1.2",
"ts-node": "3.2.0",
"tslint": "5.3.2",
"typescript": "2.3.3"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Progress Spinner is not working in angular material v2.0.0 ...
Bug: Progress spinner is not working in v2.0.0-beta.12. I am getting an error as: compiler.es5.js:1689 Uncaught Error: Can't resolve all ...
Read more >Solved: Angular Material Spinner is not Showing ... - YouTube
https://codedocu.com/Net-Framework/ASP_dot_Net-Core/ Angular /Errors/ Angular -Mat-- Spinner-is-not - Showing,- not - Working -not-Visible?2674ng add ...
Read more >ngx-spinner - npm
A library with more than 50 different loading spinners for Angular 4 - 15. (https://napster2210.github.io/ngx-spinner/).
Read more >Angular Material 2.0.0-beta.12 - CSS-based progress spinner, fixed ...
Progress spinner is now entirely css-based. Anyone know exactly what this means? Does angular material not use angular animations?
Read more >Primer - Angular & React Material Design Admin Template
Primer is a creative material design admin template. It comes packaged with an Angular version and a React version with RTL support and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@angular/material
has the following peer dependenciesThis issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.