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
I just installed this new version and now Atom is failing to load the package on startup.
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Mac OS X 10.12.2 Thrown From: prettier-eslint package, v1.1.0
Stack Trace
Failed to load the prettier-eslint 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.line.toFunction (/Users/tom/.atom/packages/prettier-eslint/node_modules/generate-function/index.js:55:21)
at compile (/Users/tom/.atom/packages/prettier-eslint/node_modules/is-my-json-valid/index.js:562:23)
at visit (/Users/tom/.atom/packages/prettier-eslint/node_modules/is-my-json-valid/index.js:337:16)
at /Users/tom/.atom/packages/prettier-eslint/node_modules/is-my-json-valid/index.js:540:9
at Array.forEach (native)
at visit (/Users/tom/.atom/packages/prettier-eslint/node_modules/is-my-json-valid/index.js:537:31)
at compile (/Users/tom/.atom/packages/prettier-eslint/node_modules/is-my-json-valid/index.js:556:3)
at module.exports (/Users/tom/.atom/packages/prettier-eslint/node_modules/is-my-json-valid/index.js:585:10)
at Object.<anonymous> (/Users/tom/.atom/packages/prettier-eslint/node_modules/eslint/lib/testers/rule-tester.js:76:24)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/tom/.atom/packages/prettier-eslint/node_modules/eslint/lib/api.js:11:17)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/tom/.atom/packages/prettier-eslint/dist/index.js:12:15)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
Things have changed a bit. I expect this is no longer a problem. If you do have further issues, please file a new issue on the atom plugin repo as mentioned.
I just installed this new version and now Atom is failing to load the package on startup.
Atom Version: 1.13.0
Electron Version: 1.3.13
System: Mac OS X 10.12.2
Thrown From: prettier-eslint package, v1.1.0
Stack Trace
Failed to load the prettier-eslint package
Commands
Config
Installed Packages
Thanks!
The text was updated successfully, but these errors were encountered: