Describe the bug
Trying to read a CSV file from node.js, produces an error:
FileNotFoundError: C:/Users/USER/OneDrive - XXX England/E&I Working/id-system/daily/Staff List for COVID19.csv not found. You maybe use a wrong path or url. Be sure you use absolute path, relative one being not supported.
at C:\src\nr2\data\node_modules\dataframe-js\lib\io.js:130:13 {
name: 'FileNotFoundError'
}
Also tried with double back-slashes. File certainly exists in that location and was easily read as a file.
To Reproduce
Steps to reproduce the behavior:
var DataFrame = require('dataframe-js').DataFrame
DataFrame.fromCSV('C:/Users/USER/OneDrive - XXX England/E&I Working/id-system/daily/Staff List for COVID19.csv')
.then(df => {
//console.log(df)
msg.payload = df
node.send(msg)
})
Expected behavior
File should have been read.
Screenshots
See above
Desktop (please complete the following information):
Describe the bug Trying to read a CSV file from node.js, produces an error:
Also tried with double back-slashes. File certainly exists in that location and was easily read as a file.
To Reproduce Steps to reproduce the behavior:
Expected behavior File should have been read.
Screenshots See above
Desktop (please complete the following information):
Additional context node.js v12.16.2