You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parses are invalid and test fails on a Windows device because of the imported sep which return \ when the path returned is /. It seems like the path returned defaulted to / on some time. It will cause error such as numerated json file in a folder (0.json, 1.json...) does not result in an array,
If you are facing this issue change const parts = path.split(sep) from sep to "/". Not sure if it applies to other Windows (10) or Node version (mine is v16.13.2).
The text was updated successfully, but these errors were encountered:
Parses are invalid and test fails on a Windows device because of the imported
sep
which return\
when the path returned is/
. It seems like the path returned defaulted to/
on some time. It will cause error such as numerated json file in a folder (0.json
,1.json
...) does not result in an array,If you are facing this issue change
const parts = path.split(sep)
fromsep
to"/"
. Not sure if it applies to other Windows (10) or Node version (mine is v16.13.2).The text was updated successfully, but these errors were encountered: