Not able to load data

Hi,
 
I downloaded the Trail version of flex monster today. I am getting the below error while trying to launch the demo application using flexmonster compressor (nodejs, using CSV file).  I have enabled CORS as well. Can someone please help me with this.
 
node version – 6.9.4
npm version – 3.10.10
 
TypeError: Cannot read property ‘on’ of undefined
at new Interface (readline.js:134:10)
at Object.exports.createInterface (readline.js:29:10)
at CSVReader.createStreamFromText (C:\Flex Monster\Pivot Table for CSV\compr
essor\nodejs\node_modules\flexmonster-compressor\src\readers\CSVReader.js:18:30)
at Object.compressCsvStream (C:\Flex Monster\Pivot Table for CSV\compressor\
nodejs\node_modules\flexmonster-compressor\src\Compressor.js:83:19)
at Object.compressCsv (C:\Flex Monster\Pivot Table for CSV\compressor\nodejs
\node_modules\flexmonster-compressor\src\Compressor.js:110:17)
at app.get (C:\Flex Monster\Pivot Table for CSV\compressor\nodejs\server.js:
12:29)
at Layer.handle [as handle_request] (C:\Flex Monster\Pivot Table for CSV\com
pressor\nodejs\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Flex Monster\Pivot Table for CSV\compressor\nodejs\node_modules\
express\lib\router\route.js:137:13)
at Route.dispatch (C:\Flex Monster\Pivot Table for CSV\compressor\nodejs\nod
e_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\Flex Monster\Pivot Table for CSV\com
pressor\nodejs\node_modules\express\lib\router\layer.js:95:5)

Attachments:
Capture_flex.PNG

2 answers

Public
Tanya Gryshko Flexmonster September 4, 2018

Hello, Sudhashree,
Thank you for your interest in Flexmonster Pivot!
Flexmonster Data Compressor requires Node.js version 8.x. We suggest updating to the newer version of Node.js and everything should work fine. Please let me know if it helps.
Regards,
Tanya

Public
Sudhashree September 6, 2018

Thanks, Tanya. I will update to newer version and check.

Please login or Register to Submit Answer