Closed jimmyff closed 6 years ago
I also get this when trying the demo
application code
Hey jimmyff, that error usually appears if you haven't set the CSP flag to true in your pubspec.yaml. Are you using your own pubspec.yaml or the one from the demo?
Here's a sample pubspec.yaml file that enables the CSP flag, should clear up your issue:
name: YourApp
description: Your Description
dependencies:
chrome: any
transformers:
- chrome
- $dart2js:
csp: true
Thanks guys, wIll have a go with your suggestion. Thanks
When I try to use
dart:html
I get the following error: