Error: Evaluation failed: DOMException: Failed to read the 'rules' property from 'CSSStyleSheet': Cannot access rules at _ (__puppeteer_evaluation_script__:4:20)
See original GitHub issueOn some local html I get the following error with v2.8.5 while v2.8.0 works:
Error: Evaluation failed: DOMException: Failed to read the 'rules' property from 'CSSStyleSheet': Cannot access rules
at _ (__puppeteer_evaluation_script__:4:20)
I cannot reproduce this locally with an example presentation. Using their online version works.
I used the docker
approach.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Uncaught DOMException: Failed to read the 'cssRules' property
You can load and render them but, cannot access the content ... to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules.
Read more >Failed to read the 'cssRules' property from 'CSSStyleSheet ...
DOMException : Failed to read the 'cssRules' property from 'CSSStyleSheet' (file system based access) #756.
Read more >How to Fix the “Failed to Read the CSSRules Property From ...
Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules. Our monitoring tool also provides ...
Read more >ATF - Failed to read the 'cssRules' property from - ServiceNow
ATF Test: Assert Text on Page (Custom UI). - Error Message: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules.
Read more >Cannot access rules from external CSS style sheet
document.styleSheets[0].rules.length DOMException:Failed to read the 'rules' property from 'CSSStyleSheet': Cannot access rules
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
I ran with
decktape remark https://wordsesh2019.ahmadawais.com/ slide.pdf --chrome-arg=--disable-web-security
And that worked. Mention this in the readme as well.
--chrome-arg=--allow-file-access-from-files
didn’t work.@ahmadawais have you tried with the
--chrome-arg=--allow-file-access-from-files
option flag, or--chrome-arg=--disable-web-security
?