reactjs - Error while running jest on node 0.12.0 -


i'm trying run jest test in project , have node v0.12.0 , running jest test gives me error below:

/users/ajaybeniwal203/odeskwork/ui-components/node_modules/jest-cli/node_modules/harmonize/harmonize.js:31 node.stdout.pipe(process.stdout);

typeerror: cannot read property 'pipe' of undefined @ module.exports (/users/ajaybeniwal203/odeskwork/ui-components/node_modules/jest-cli/node_modules/harmonize/harmonize.js:31:20)

at object.<anonymous> (/users/ajaybeniwal203/odeskwork/ui-components/node_modules/jest-cli/bin/jest.js:39:1) @ module._compile (module.js:460:26)

at object.module._extensions..js (module.js:478:10)

at module.load (module.js:355:32)

at function.module._load (module.js:310:12)

at function.module.runmain (module.js:501:10)

at startup (node.js:129:16)

at node.js:814:3 npm err! test failed.

see above more details.

how resolve this?

it known issue:

it's known , has jsdom + contextify mostly.

try using node 0.10 instead, nvm or similar alternatives available windows should help.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -