TokContext error running spy-js

Hi,

my application runs fine, but when running in spy-js I get an error. (below) i'm running this open source project http://keystonejs.com/ using node 0.12.6 and webstorm 10. Have you seen this error before?


/usr/local/bin/node /Applications/WebStorm.app/Contents/plugins/spy-js/server/spyNode.js --spyJsServerPort=3547 --spyJsTracedApp=/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/keystone.js --spyJsChildProc=false
info: socket.io started
spy-js has started
session store: /var/folders/dn/p7t_db8x7tx4d5ztwyfhlfl40000gn/T/spy-js-session115917-16301-1e2gzmc
session (929zd): new session created: 929zd
session (929zd): dynamic config created: /var/folders/dn/p7t_db8x7tx4d5ztwyfhlfl40000gn/T/115917-16301-1f3p94m.js
session (929zd): ----------- Starting traced application process (16301) -----------
session (929zd): TokContext is not defined
ReferenceError: TokContext is not defined
    at new TokContext (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:3734:69)
    at Object.u.12../state (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:3748:25)
    at s (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:53:49)
    at /Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:57:78
    at Object.u.3../expression (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:1692:63)
    at s (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:53:49)
    at e (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:79:39)
    at /Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:88:8
    at /Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:7:52
    at Object.<anonymous> (/Users/matthewchung/Documents/Versame/AWS/beta-api-keystone/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:29:4)
    at Module._compile (module.js:435:26)
    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)

Please sign in to leave a comment.