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
On Windows, filenames are delimited by backslashes. Unfortunately the CSV parser from v8-tools-core tries to parse them as \u0000 escapes when I believe it should be interpreting them verbatim.
This is the error I see when running on Windows:
$ deoptigate ./foo.js
deoptigate 🚫: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
Here's an example of what the log lines look like:
This issue is silent and not the TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object.
Maybe the TypeError could result of a similiar Unix/Windows problematic, but it concerns others paths in an another location.
To avoid this blocking error, I'd juste added a key !== null condition in the resolve-files.js > resolveAll function :
The app can launch
The listed keys are not the sames as the strings reformated in csvparse.js > escapeFields
Furthermore, the app dont list any file to open at this state.
In view of the strings parsed in csvparse.js > escapeFields, this is probably due to the \u0000 issue you described.
On Windows, filenames are delimited by backslashes. Unfortunately the CSV parser from v8-tools-core tries to parse them as \u0000 escapes when I believe it should be interpreting them verbatim.
This is the error I see when running on Windows:
Here's an example of what the log lines look like:
I'm not 100% sure this CSV parsing is the underlying issue, but it seems to be the culprit.
The text was updated successfully, but these errors were encountered: