Open camel-chased opened 9 years ago
[Enter steps to reproduce below:]
Atom Version: 1.3.2 System: Mac OS X 10.10.5 Thrown From: atom-minjs package, v0.2.12
Failed to load the atom-minjs package
At 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'".
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.<anonymous> (/Users/wanglei/.atom/packages/atom-minjs/node_modules/uglify-js/tools/node.js:22:1)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/wanglei/.atom/packages/atom-minjs/lib/minjs.coffee:1:9)
at Object.<anonymous> (/Users/wanglei/.atom/packages/atom-minjs/lib/minjs.coffee:1:1)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:663:34)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:115:28
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:438:14)
at PackageManager.module.exports.PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:390:14)
at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:682:21)
at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-application-window.js:28:10)
at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:86:5)
at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:41:9)
{
"core": {
"themes": [
"one-light-ui",
"one-light-syntax"
]
}
}
# User
atom-minjs, v0.2.12
environment, v1.1.1
go-config, v0.3.1
go-find-references, v1.2.3
java-importer, v1.4.1
pretty-json, v0.4.1
terminal-plus, v0.14.5
# Dev
No dev packages
Error still exist in v1.5.3
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.
[Enter steps to reproduce below:]
Atom Version: 1.2.0-beta0 System: Ubuntu 15.10 Thrown From: atom-minjs package, v0.2.12
Stack Trace
Failed to load the atom-minjs package
Commands
Config
Installed Packages