atom / encoding-selector

Pick an encoding for the current editor
MIT License
21 stars 26 forks source link

Doesn't Work!!! #2

Closed oliveiraeduardo closed 10 years ago

oliveiraeduardo commented 10 years ago

After Ctrl + shift + U:

Download the React DevTools for a better development experience: http://fb.me/react-devtools c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\react-atom-fork\lib\React.js:92 activate linter-csslint /c:/Users/admin/.atom/packages/linter-csslint/lib/init.coffee:11 activate linter-hlint /c:/Users/admin/.atom/packages/linter-hlint/lib/init.coffee:7 activate linter-jshint /c:/Users/admin/.atom/packages/linter-jshint/lib/init.coffee:11 activate linter-php /c:/Users/admin/.atom/packages/linter-php/lib/init.coffee:7 activate linter-phpcs /c:/Users/admin/.atom/packages/linter-phpcs/lib/init.coffee:10 activate linter-scss-lint /c:/Users/admin/.atom/packages/linter-scss-lint/lib/init.coffee:8 Window load time: 4564ms /C:/ProgramData/chocolatey/lib/Atom.0.140.0/tools/Atom/resources/app/static/index.js:39 TypeError: undefined is not a function at encoding-selector-status.EncodingStatusView.subscribeToActiveTextEditor (c:\Users\admin.atom\packages\encoding-selector\lib\encoding-status-view.coffee:40:73) at c:\Users\admin.atom\packages\encoding-selector\lib\encoding-status-view.coffee:18:8 at Emitter.module.exports.Emitter.emit (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\event-kit\lib\emitter.js:71:11) at c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\pane-container.js:329:34 at Emitter.module.exports.Emitter.emit (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\event-kit\lib\emitter.js:71:11) at Pane.module.exports.Pane.setActiveItem (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\pane.js:254:22) at Pane.module.exports.Pane.addItem (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\pane.js:325:14) at Pane.module.exports.Pane.activateItem (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\pane.js:299:14) at c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\workspace.js:481:16 at _fulfilled (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\q\q.js:787:54) at self.promiseDispatch.done (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\q\q.js:816:30) at Promise.promise.promiseDispatch (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\q\q.js:749:13) at c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\q\q.js:557:44 at flush (c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\q\q.js:108:17) at process._tickCallback (node.js:378:11) c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\workspace.js:497(anonymous function) c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\src\workspace.js:497 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'".

Error activating package config for “atom-js2coffee” 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'". c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\settings-view\lib\settings-view.js:415 Error activating package config for “js2coffee” TypeError: evalmachine.:1 const END = 0, NEWLINE = 1, SEMICOLON = 2, COMMA = 3, ASSIGN = 4, HOOK = 5, CO ^ Identifier 'END' has already been declared c:\ProgramData\chocolatey\lib\Atom.0.140.0\tools\Atom\resources\app\node_modules\settings-view\lib\settings-view.js:415 Uncaught TypeError: undefined is not a function

lee-dohm commented 10 years ago

This package requires changes in Atom Core before it will work. I'm going to close this until the feature is merged.

kevinsawicki commented 10 years ago

Yeah, this package will be bundled with Atom 0.141 so please wait until that release before trying to use it.