Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EvalError #3

Open
MLourensMoog opened this issue Apr 29, 2016 · 0 comments
Open

EvalError #3

MLourensMoog opened this issue Apr 29, 2016 · 0 comments

Comments

@MLourensMoog
Copy link

When I hit ctrl+alt+t with your package installed, I get the following error:

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'".

    at Function (native)
    at Object. (C:\Users\mlourens\Documents\Javascript\node\node-tar.gz-master\node_modules\mout\lang\GLOBAL.js:5:22)
    at Module._compile (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object. (C:\Users\mlourens\Documents\Javascript\node\node-tar.gz-master\node_modules\mout\lang.js:6:16)
    at Module._compile (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object. (C:\Users\mlourens\Documents\Javascript\node\node-tar.gz-master\node_modules\mout\index.js:14:14)
    at Module._compile (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object. (C:\Users\mlourens\Documents\Javascript\node\node-tar.gz-master\index.js:4:12)
    at Module._compile (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object. (C:\Users\mlourens\Documents\Javascript\node\node-tar.gz-master\test\compression-test.js:1:92)
    at Module._compile (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at C:\Users\mlourens\.atom\packages\mocha\node_modules\mocha\lib\mocha.js:183:27
    at Array.forEach (native)
    at Mocha.loadFiles (C:\Users\mlourens\.atom\packages\mocha\node_modules\mocha\lib\mocha.js:180:14)
    at Mocha.run (C:\Users\mlourens\.atom\packages\mocha\node_modules\mocha\lib\mocha.js:382:31)
    at MochaView.module.exports.MochaView.test (file:///C:/Users/mlourens/.atom/packages/mocha/lib/mocha-view.coffee:63:15)
    at atom-workspace. (file:///C:/Users/mlourens/.atom/packages/mocha/lib/mocha-view.coffee:15:61)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\command-registry.js:260:29)
    at C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\window-event-handler.js:98:36)
    at HTMLDocument. (C:\Users\mlourens\AppData\Local\atom\app-1.7.3\resources\app.asar\src\window-event-handler.js:3:61)
test\compression-test.js16:10
LFUTF-8JavaScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant