Open phoenix727 opened 8 years ago
@mlrawlings did this ☝️
This is a known issue. Atom doesn't seem to allow eval
and we need to come up with a good way to skip over taglibs that can't be loaded in Atom.
To avoid this problem, it's recommended to move your tag definition to an external marko-tag.json
file instead of inlining it in the JavaScript code.
I know, you have mentioned this to me before, Mike just saw it pop up in my project and pasted it here.
[Enter steps to reproduce below:]
Atom Version: 1.10.2 Electron Version: 0.37.8 System: Mac OS X 10.11.6 Thrown From: language-marko package, v2.0.10
Stack Trace
Uncaught Error: Unable to load taglib ([/Users/pecopeland/Node_Projects/feshlist/node_modules/sellerhub-ui-components/marko.json]): Error: Error while applying option of "tags-dir". Cause: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
Commands
Config
Installed Packages