Comments (8)
Confirming this issue:
$ node -v
v0.6.0
$ supervisor app/MyApp.js
The "sys" module is now called "util". It should have a similar interface.
DEBUG: watch: undefined
No program specified.
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No program specified.
at Object.run (/usr/local/lib/node_modules/supervisor/lib/supervisor.js:25:11)
at Object.<anonymous> (/usr/local/lib/node_modules/supervisor/lib/cli-wrapper.js:11:25)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)
Edit: Note that checking out the most recent HEAD and replacing my npm installation resolves the issue, however require('sys') should be changed to require('util'). I won't bother with a pull request ;-)
from node-supervisor.
I have the same error. Changing "sys" to "util" did not help, as well as reinstalling.
nodejs v0.6.1
from node-supervisor.
same issue
from node-supervisor.
Try this
node-supervisor -p app.js -w ./
from node-supervisor.
Try upgrading to 0.2.0 and see if that resolves these issues.
from node-supervisor.
Hi,
I have this issue (with node 0.7.0-pre) and cannot upgrade to supervisor 0.2.0 and instead see below error:
npm ERR! System Linux 3.0.0-12-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "install" "supervisor" "0.2.0"
npm ERR! cwd /var/www
npm ERR! node -v v0.7.0-pre
npm ERR! npm -v 1.1.0-beta-4
npm ERR! type obj_ctor_property_non_object
npm ERR! arguments [ 'keys' ]
npm ERR! message Object.keys called on non-object
any ideas?
from node-supervisor.
Wow living on the edge, you are running an unstable version of node (0.7.0-pre) which is highly unlikely to run many packages, the latest stable 0.6.6 works good w/ supervisor.
Sent from my iPhone
On Dec 18, 2011, at 4:48 AM, [email protected] wrote:
Hi,
I have this issue (with node 0.7.0-pre) and cannot upgrade to supervisor 0.2.0 and instead see below error:
npm ERR! System Linux 3.0.0-12-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "install" "supervisor" "0.2.0"
npm ERR! cwd /var/www
npm ERR! node -v v0.7.0-pre
npm ERR! npm -v 1.1.0-beta-4
npm ERR! type obj_ctor_property_non_object
npm ERR! arguments [ 'keys' ]
npm ERR! message Object.keys called on non-objectany ideas?
Reply to this email directly or view it on GitHub:
#28 (comment)
from node-supervisor.
FYI - running 0.7.5-pre and just ran into this issue as well. I know that I'm running a very early and unstable build, but wanted to give a heads up to others that come across this ticket. I am going to try and downgrade and see if the latest stable can run supervisor. Tried with 0.0.6 of supervisor
from node-supervisor.
Related Issues (20)
- node native Inspector not work with custom port using supervisor HOT 5
- not possible to have colored output (using the unbuffer trick, doesnt work)
- Does not work with node 7 HOT 3
- package.json license is "MIT", but the actual LICENSE file is BSD-2.
- How to add node --max-old-space-size flag? HOT 3
- Conflict with phantomjs while converting to pdf HOT 1
- Prevent developers from unintentionally killing daemon / worker processes on local machine
- why my node-supervisor doesn't work
- 100% CPU load when I use 'supervisor app.js' but when I use' node app.js ' just only 5% CPU load HOT 4
- Supervisor stop accepting "rs" to restart
- bash: supervisor: command not found HOT 2
- problem with --experimental-modules HOT 1
- How do I listen for all types of files?
- Recurse over directories
- Is there a way to use the preload args of node? HOT 3
- is there a way to exit on error instead of hanging?
- can this run Python as well?
- Infinite restarts of "Starting child process" HOT 2
- Arguments Incorrectly Parsed HOT 3
- Can this be run in background?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-supervisor.