Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing Nodemon while changing tests #560

Closed
spruce opened this issue May 31, 2015 · 2 comments
Closed

Crashing Nodemon while changing tests #560

spruce opened this issue May 31, 2015 · 2 comments

Comments

@spruce
Copy link

spruce commented May 31, 2015

Hey,
I was changing some of my tests running nodemon ./api/tests --watch ./api
Then it created an error:

[nodemon] failed to start process, possible issue with exec arguments
exception in nodemon killing node
Error: Uncaught, unspecified "error" event.
    at emit (events.js:143:13)
    at ChildProcess.<anonymous> (/usr/local/var/nvm/versions/io.js/v2.0.1/lib/node_modules/nodemon/lib/monitor/run.js:126:11)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:169:7)
    at Process.ChildProcess._handle.onexit (child_process.js:1009:12)


Contents of the command which I was instructed to run:

/usr/local/var/nvm/versions/io.js/v2.0.1/bin/iojs /usr/local/var/nvm/versions/io.js/v2.0.1/bin/nodemon ./api/tests --watch ./api --dump
31 May 17:09:22 - [nodemon] v1.3.7
31 May 17:09:22 - [nodemon] to restart at any time, enter `rs`
31 May 17:09:22 - [nodemon] watching: /Users/spruce/Sites/project/api/**/*
--------------
node: v2.0.1
nodemon: v1.3.7
command: /usr/local/var/nvm/versions/io.js/v2.0.1/bin/iojs /usr/local/var/nvm/versions/io.js/v2.0.1/bin/nodemon ./api/tests --watch ./api --dump
cwd: /Users/spruce/Sites/project
OS: darwin x64
--------------
{ run: false,
  system: 
   { cwd: '/Users/spruce/Sites/project',
     useFind: true,
     useWatch: false,
     useWatchFile: false },
  required: false,
  dirs: [ '/Users/spruce/Sites/project/api' ],
  timeout: 1000,
  options: 
   { watch: [ './api', re: /\.\/api/ ],
     dump: true,
     ignore: 
      [ '.git',
        'node_modules',
        'bower_components',
        '.sass-cache',
        re: /\.git|node_modules|bower_components|\.sass\-cache/ ],
     restartable: 'rs',
     execMap: { py: 'python', rb: 'ruby' },
     stdin: true,
     verbose: false,
     stdout: true,
     execOptions: 
      { script: './api/tests',
        exec: 'node',
        args: [],
        scriptPosition: 0,
        nodeArgs: undefined,
        ext: 'js',
        env: {},
        execArgs: [] },
     monitor: 
      [ '/Users/spruce/Sites/project/api/**/*',
        '!/Users/spruce/Sites/project/.git/**/*',
        '!/Users/spruce/Sites/project/node_modules/**/*',
        '!/Users/spruce/Sites/project/bower_components/**/*',
        '!.sass-cache' ] },
  load: [Function],
  reset: [Function: reset],
  lastStarted: 0,
  loaded: [],
  command: 
   { raw: { executable: 'node', args: [ './api/tests' ] },
     string: 'node ./api/tests' },
  offset: 0 }
--------------

I don't know what is failing nodemon ...

after fixing one of the failing tests it now works again ...

@alexbepple
Copy link

Is this the same as #496?

@spruce
Copy link
Author

spruce commented Aug 5, 2015

I think so.

@spruce spruce closed this as completed Aug 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants