SublimeText-NodeEval icon indicating copy to clipboard operation
SublimeText-NodeEval copied to clipboard

Does it work in st3?

Open ghost opened this issue 11 years ago • 5 comments

On Ubuntu 13.04 it does not :(

ghost avatar Sep 27 '13 21:09 ghost

And on Windows 7 in SublimeText3 build 3047 it doesn't work in my case. This errors in console when i try to run it:

Traceback (most recent call last):
  File "D:\programs\Sublime Text 3\sublime_plugin.py", line 549, in run_
    return self.run(edit)
  File "NodeEval in D:\programs\Sublime Text 3\Data\Installed Packages\NodeEval.sublime-package", line 286, in run
  File "NodeEval in D:\programs\Sublime Text 3\Data\Installed Packages\NodeEval.sublime-package", line 305, in _node_eval
  File "NodeEval in D:\programs\Sublime Text 3\Data\Installed Packages\NodeEval.sublime-package", line 243, in eval
  File "X/subprocess.py", line 818, in __init__
  File "X/subprocess.py", line 1049, in _execute_child
  File "X/subprocess.py", line 627, in list2cmdline
TypeError: Type str doesn't support the buffer API

Ovsyanka avatar Jan 21 '14 11:01 Ovsyanka

Not working... in ST3 on Mac OS 10.9.5.

Love this plugin from using it on ST2...

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 556, in run_
    return self.run(edit)
  File "/Users/bjnsn/Library/Application Support/Sublime Text 3/Packages/NodeEval/NodeEval.py", line 286, in run
    _node_eval(self, edit)
  File "/Users/bjnsn/Library/Application Support/Sublime Text 3/Packages/NodeEval/NodeEval.py", line 305, in _node_eval
    eval(s.view, data, region)
  File "/Users/bjnsn/Library/Application Support/Sublime Text 3/Packages/NodeEval/NodeEval.py", line 237, in eval
    node_command = os.path.normpath(s.get('node_command'))
  File "./posixpath.py", line 354, in normpath
AttributeError: 'NoneType' object has no attribute 'startswith'

bjnsn avatar May 06 '15 21:05 bjnsn

I can't even install from Package Manager because it's not listed.

drew-wallace avatar Oct 17 '16 14:10 drew-wallace

thanks for the heads up. i'll check into it @drew-wallace

mediaupstream avatar Oct 24 '16 08:10 mediaupstream

@mediaupstream https://github.com/wbond/package_control_channel/blob/master/repository/n.json#L658 seems to control for which version of Sublime Text that NodeEval shows up for! I think a change to that line should make NodeEval available for Sublime Text 3.

I've manually installed NodeEval for ST3 and everything works fine when I have the output config set to new or clipboard. I don't know how to get the output working for console or replace yet though. 🤔

therobinkim avatar Nov 14 '18 01:11 therobinkim