GithubHelp home page GithubHelp logo

Comments (6)

hdoan741 avatar hdoan741 commented on July 17, 2024

Hey! I used to have problem deploying on Amazon as well :-( It was because the debugger took sometimes to initialize before it can be used, but the code may send messages to it earlier than that -- and caused it to fail. I tried but I couldn't solve it completely.

Have you tried to deploy locally? Does it work locally?

from jstutor.

arikrak avatar arikrak commented on July 17, 2024

Yes, it works locally. Weird, I thought EC2 was just like any Linux instance. What server does it work it on? Thanks!

from jstutor.

hdoan741 avatar hdoan741 commented on July 17, 2024

I'm not sure. Maybe you could try deploying on Heroku (although I believe
they use EC2 to back their service)? When I worked on it, I did have it
working on both EC2 and Heroku.

But I'm not maintaining this project any more. Sorry. You are free to use
the source code though..

On Mon, Mar 10, 2014 at 8:31 PM, Ariel [email protected] wrote:

Yes, it works locally. Weird, I thought EC2 was just like any Linux
instance. What server does it work it on? Thanks!

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-37260210
.

from jstutor.

arikrak avatar arikrak commented on July 17, 2024

Yes, it works on Heroku and was much easier to setup! I just had to change the package.json file to "node": "v0.8.x", from 0.8.6.

from jstutor.

arikrak avatar arikrak commented on July 17, 2024

Last question - how does it capture console.log() output? I want to change it to capture print(). Thanks.

from jstutor.

hdoan741 avatar hdoan741 commented on July 17, 2024

It listens to changes in user program's output stream. It's not just console.log() but anything that is written to the output stream will be captured:

https://github.com/manhhung741/jstutor/blob/master/SourceExecution.js

from jstutor.

Related Issues (3)

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.