You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught 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'".
#20
Open
alexbruno opened this issue
Jul 9, 2015
· 0 comments
Atom Version: 0.179.0 System: Unknown Windows Version Thrown From: local-server package, v0.1.0
Stack Trace
Uncaught 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 C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\node_modules\depd\index.js:421
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.wrapfunction (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\node_modules\depd\index.js:421:5)
at Object.<anonymous> (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\node_modules\send\index.js:156:47)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\src\6to5.js:138:21)
at Module.load (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\lib\utils.js:19:12)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\src\6to5.js:138:21)
at Module.load (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\lib\view.js:19:13)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\src\6to5.js:138:21)
at Module.load (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\lib\application.js:22:12)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\src\6to5.js:138:21)
at Module.load (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\lib\express.js:17:13)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\src\6to5.js:138:21)
at Module.load (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\express\index.js:11:18)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\src\6to5.js:138:21)
at Module.load (C:\Users\alex.caceres\AppData\Local\atom\app-0.179.0\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at LocalServerView.module.exports.LocalServerView.startServer (C:\Users\alex.caceres\.atom\packages\local-server\lib\local-server-view.coffee:31:15)
at C:\Users\alex.caceres\.atom\packages\local-server\lib\local-server-view.coffee:26:8
at Server.onListen (C:\Users\alex.caceres\.atom\packages\local-server\node_modules\portfinder\lib\portfinder.js:49:5)
at Server.g (events.js:202:16)
at Server.emit (events.js:113:17)
at net.js:1170:12
at process._tickCallback (node.js:364:11)
[Enter steps to reproduce below:]
Atom Version: 0.179.0
System: Unknown Windows Version
Thrown From: local-server package, v0.1.0
Stack Trace
Uncaught 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
The text was updated successfully, but these errors were encountered: