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'".
#21
Open
Umcaruje opened this issue
Aug 6, 2015
· 0 comments
Atom Version: 0.180.0 System: linux 3.19.0-25-generic 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 /home/umcaruje/.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 (/home/umcaruje/.atom/packages/local-server/node_modules/express/node_modules/depd/index.js:421:5)
at Object.<anonymous> (/home/umcaruje/.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] (/usr/share/atom/resources/app/src/6to5.js:138:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/umcaruje/.atom/packages/local-server/node_modules/express/lib/utils.js:19:12)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/6to5.js:138:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/umcaruje/.atom/packages/local-server/node_modules/express/lib/view.js:19:13)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/6to5.js:138:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/umcaruje/.atom/packages/local-server/node_modules/express/lib/application.js:22:12)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/6to5.js:138:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/umcaruje/.atom/packages/local-server/node_modules/express/lib/express.js:17:13)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/6to5.js:138:21)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (/home/umcaruje/.atom/packages/local-server/node_modules/express/index.js:11:18)
at Module._compile (module.js:475:26)
at Object.loadFile [as .js] (/usr/share/atom/resources/app/src/6to5.js:138:21)
at Module.load (module.js:370:32)
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 (/home/umcaruje/.atom/packages/local-server/lib/local-server-view.coffee:31:15)
at /home/umcaruje/.atom/packages/local-server/lib/local-server-view.coffee:26:8
at Server.onListen (/home/umcaruje/.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.180.0
System: linux 3.19.0-25-generic
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: