当我在开发中构建我的Ember CLI应用程序时,它工作得很好。uglify-js/tools/node.js:24:4), <anonymous>:1508:18)
at js_error (eval at <anonymous> (/Users/michael/node_modules/uglify-js/tools/node.js:24
我正在从另一个名为bookmarklet.js的文件本地运行javascript。脚本将不会运行,因为我得到了错误:
Refused to load the script 'http://localhost:8888/bookmarklet.js' because it violatesthe following Content Security Policy directive: "script-src 'self' 'unsafe-eval