Node.js app doesn't run with "Spy-js for Node.js"

Hey everyone!

I'm trying to run my app with spy-js but I keep getting this error : "SyntaxError: Unexpected token ILLEGAL". Which I don't have when I run the app with node.js.

This is what I get in the "traced Application" pane :

/usr/local/n/versions/node/4.2.2/bin/node /Applications/ --spyJsServerPort=3547 --spyJsTracedApp=/Users/xxx/index.js --spyJsChildProc=false
info: started
spy-js has started
session store: /var/folders/f0/ndgprzjd5vb1rn6n2cnj5wz80000gn/T/spy-js-session115107-82278-u81tz4
session (0cucf): new session created: 0cucf
session (0cucf): dynamic config created: /var/folders/f0/ndgprzjd5vb1rn6n2cnj5wz80000gn/T/115107-82278-1datjd2.js
session (0cucf): ----------- Starting traced application process (82278) -----------
session (0cucf): Unexpected token ILLEGAL
SyntaxError: Unexpected token ILLEGAL
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/xxx/conf/index.js:3:45)

Where the file is just :


Would you know where it could come from?

1 comment
Comment actions Permalink

Apparently, there's already an issue about it :


Please sign in to leave a comment.