Closed Txellenne closed 8 years ago
These are just warnings. There's nothing to be stuck at: from what I see on the screenshot, the installation was successful.
(As an aside, the transparency effect makes it rather hard to read).
Well, if those warnings do not mean anything, I got clueless. It just that it does not behave as expected..
It just that it does not behave as expected.
You'll have to be more specific. What did you try to do, and what did you see as a result?
e.g.: if I run at command line $ rhino
, then this:
js> function square(n) { return n * n; }
js> [1, 2, 3, 4, 5].map(square);
I got js>1,4,9,16,25
If I do that within Emacs I instead got erratic errors, sometimes js: "<stdin>", line xx: Compilation produced 1 syntax errors
others ...invalid return
If I do that within Emacs
You can't simply "do that within Emacs". It's a text editor, not a REPL. You're skipping a lot of steps.
How is that related to js2-mode
?
I'm trying with a script, js-comint which works on the js2-mode to set an inferior process so a kind of REPL in Emacs.
Try a newer version, like this one: https://github.com/redguardtoo/js-comint
Ah, OK. it works!! (well, so that to make the test short (because I'm still trying only with rhino) I had to comment the first line ;(require 'nvm)
in that js-comint
version (otherwise, the process leads to incorporate your Emacs system to cask (which leads to a more dependencies checking and in this case I wanted to keep the test isolated).
Thank you, very much!!
I got issues when installing
js2-mode
(I first tried to just download it and runM-x byte-compile-file
but as unsuccessful tried the regular way, trough the package-manager) but still stuck at those warning outputs seen below.. Any help, please??. I'd appreciate it.