including modernizr causes white screen
See original GitHub issueBug Report or Feature Request (mark with an x)
- [X ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
$ ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
@angular/cli: 1.0.0
node: 6.9.2
os: win32 x64
@angular/animations: 4.0.1
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/core: 4.0.1
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/router: 4.0.1
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.1
@angular/platform-server: 4.0.1
Repro steps.
- Generated modernizr.js:
.\node_modules\.bin\modernizr -c .\node_modules\modernizr\lib\config-all.json
- Moved to src\js folder (src is the root of my app)
- Added
"js/modernizr.js"to .angular-cli.json - Running ng serve shows a blank screen in the browser. No errors.
The log given by the failure.
None
Desired functionality.
The site should keep working.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Modernizr + bootstrap only showing blank white page issue
This causes the html tag to get display:none and a complete blank page with correctly made up invisible content to show up.
Read more >Bootstrap & Modernizr custom build white screen of death
Adding a Modernizr custom build into my project with Bootstrap prevents anything from rendering. Here is the jsfiddle: https://jsfiddle.net/ ...
Read more >60789 - Blank page when accessing Modernizr 1.6 page
Some visible content with modernizr test results. What happens instead? Most of the times (but not always) the page is blank
Read more >Optimize JavaScript Code causes white/blank screen on ...
Hi,. When I enable “Optimize JavaScript Code” and use mobile device: first time I load any page white/blank screen. second time I load/refresh...
Read more >How to Resolve the WordPress White Screen of Death
Go through your website and admin dashboard to find clues. Sometimes the issue is only with the admin dashboard and doesn't affect the...
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 Free
Top 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

@narainsagar thanks for the repro, closing as working as intended 👍
@rolandoldengarm @filipesilva fyi. Just tried the above repro steps on the latest release
v1.2.1and It seems to be no issue at all. i.e.,