Wappler Version : 3.0.1
Operating System : Win10 latest
The Import CSV File
server connect action is causing the following error in Nodejs in the console:
{status: "500", message: "csv.split is not a function",…}
message: "csv.split is not a function"
stack: "TypeError: csv.split is not a function↵ at parseCSV (/opt/node_app/lib/modules/import.js:14:20)↵ at App.csv (/opt/node_app/lib/modules/import.js:45:16)↵ at async App._exec (/opt/node_app/lib/core/app.js:224:30)↵ at async App._exec (/opt/node_app/lib/core/app.js:206:17)↵ at async App.exec (/opt/node_app/lib/core/app.js:177:9)↵ at async App.define (/opt/node_app/lib/core/app.js:160:9)"
status: "500"
I am quite sure I excluded all other possible causes of this error and even using a static .csv file (which imports flawlessly in PHP) or .c file causes this error if it’s the only action in my server connect script. So, I suppose it’s a bug, only in nodejs, in php it still works fine.
Please let me know if you need more details.