Code Monkey home page Code Monkey logo

Comments (10)

flosse avatar flosse commented on September 23, 2024

I've got the same problem

from firefox-jsterm.

paulmillr avatar paulmillr commented on September 23, 2024

Unfortunately i'm not sure what happens here.

Error: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]

This error can be fixed by applying this patch:

--- a/chrome/jsterm.js
+++ b/chrome/jsterm.js
@@ -1,7 +1,8 @@
 let Cu = Components.utils;
 let Ci = Components.interfaces;
+let devtools = Cu.import("resource://gre/modules/devtools/Loader.jsm", {}).devtools;
 Cu.import("resource:///modules/source-editor.jsm");
-Cu.import("resource://gre/modules/devtools/WebConsoleUtils.jsm");
+devtools.require('devtools/toolkit/webconsole/utils')

but after that nothing happens when you select jsterm tab. No logs, no errors, nothing @paulrouget ?

from firefox-jsterm.

paulrouget avatar paulrouget commented on September 23, 2024

Sorry, not actively looking at this as we're in the process of integrating JSTerm in Firefox.
Also, we changed many internal things in Firefox 27. JSTerm will get even more broken and unmaintainable as an addon.

I suggest that you wait until https://bugzilla.mozilla.org/show_bug.cgi?id=911456 gets fixed (we are actively working on that, but not sure yet when it's gonna land).

from firefox-jsterm.

paulmillr avatar paulmillr commented on September 23, 2024

@paulrouget does it mean firefox will natively support coffee script in console?

from firefox-jsterm.

paulrouget avatar paulrouget commented on September 23, 2024

Not Firefox. But the built-in JSTerm will be able to do so (not the v1 though).

from firefox-jsterm.

KnightYoshi avatar KnightYoshi commented on September 23, 2024

You should add to the description of the add-on that it's being integrated natively and that support for the add-on has been dropped. That would have prevented my confusion (and I'm sure the confusion of others) of why it wasn't working.

from firefox-jsterm.

paulmillr avatar paulmillr commented on September 23, 2024

done

from firefox-jsterm.

flosse avatar flosse commented on September 23, 2024

@paulmillr on https://addons.mozilla.org/ I still can read Works with Firefox 20.0a1 - 26.

...and do you know any alternatives that support CoffeeScript? Or what would you recommend for FF 25 and FF 26 users?

from firefox-jsterm.

paulmillr avatar paulmillr commented on September 23, 2024

I don't know any

from firefox-jsterm.

vkz avatar vkz commented on September 23, 2024

@paulrouget is Mozilla no longer pursuing this? jsTerm doesn't appear to work, nor has it been integrated into dev tools. Thanks

from firefox-jsterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.