Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

nodejs started from brackets not stable #12202

Closed
zanderhsu opened this issue Feb 6, 2016 · 7 comments
Closed

nodejs started from brackets not stable #12202

zanderhsu opened this issue Feb 6, 2016 · 7 comments

Comments

@zanderhsu
Copy link

Hi,

Recently I am using Bracket(OS X version 1.6) to edit and run my nodejs program as it's really a nice tool.

However last week I found if I launched my nodejs program via Bracket, then did some frequent access to my nodejs program(server), it would exit abnormally in short time for unknown reason ('Program exited with status code of null.'), but if I ran my nodeJS program under terminal, it could run very well.

Is it possible because the stack size Bracket is using is a bit too small or something else.

Cheers
Zander

@petetnt
Copy link
Collaborator

petetnt commented Feb 9, 2016

Would it be possible to show the source of the program you are running? The Node used by Brackets currently is quite old (0.10 IIRC), it might be that the programming is running into a fatal error that it does not know how to handle.

@evenstensberg
Copy link

I assume you tried launching it with sudo/admin?

@zanderhsu
Copy link
Author

@petetnt, it's hard to put my code here since it also connects a database, to reproduce it also need a android app, too complicated to reproduce it for you. Bracket uses the Node installed on OS( mine is OS X ), doesn't it?

@ev1stensberg, I didn't use sudo to run it, no matter in Bracket or terminal.

@petetnt
Copy link
Collaborator

petetnt commented Feb 9, 2016

@zanderhsu Nope, Brackets uses it's own Node executable. See https://github.com/adobe/brackets/wiki/Brackets-Node-Process:-Overview-for-Developers for more information.

There's an PR on brackets-shell repo active for updating the node version to the latest LTS version adobe/brackets-shell#543

You could try installing the 0.10 version with https://github.com/creationix/nvm for example and see if your program exits abruptly on that version too.

@zanderhsu
Copy link
Author

screen shot 2016-02-09 at 10 55 29 pm

@petetnt
Thanks for your information.
But Bracket has provided the configuration UI for node.js, you can refere to my screenshot

@petetnt
Copy link
Collaborator

petetnt commented Feb 9, 2016

@zanderhsu Oh I see, you are using https://github.com/Acconut/brackets-nodejs-extension. You should most likely re-report this issue to the extension repo instead.

@abose
Copy link
Contributor

abose commented Feb 9, 2016

Closing as extension isssue.
Please report this to https://github.com/Acconut/brackets-nodejs-extension

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants