javascript - Cannot read property 'prototype' of Undefined in Nodejs -


i using fast-csv module handle , parse csv data on server side. read data csv file , store contents in database. while running eclipse on local don't errors if try run on aws server following error.

hasispaused = !!stream.transform.prototype.ispaused;                                 ^ 

typeerror: cannot read property 'prototype' of undefined

at object.<anonymous> (/home/ec2-user/imex-research-mass-mailer-v2/node_modules/fast-csv/lib/parser/parser_stream.js:11:37) @ module._compile (module.js:449:26) @ object.module._extensions..js (module.js:467:10) @ module.load (module.js:356:32) @ function.module._load (module.js:312:12) @ module.require (module.js:362:17) @ require (module.js:378:17) @ object.<anonymous> (/home/ec2-user/imex-research-mass-mailer-v2/node_modules/fast-csv/lib/parser/index.js:5:20) @ module._compile (module.js:449:26) @ object.module._extensions..js (module.js:467:10) 

initially thought there may issues of dependent packages not being installed. made sure packages required fast-csv present still getting error. please help

thanks

stream.transform introduced in node 0.10. you're using version prior on aws server. suggest upgrading node , trying again.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -