Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: The "path" argument must be of type string. #3268

Open
1 task done
hahaha28 opened this issue May 22, 2022 · 1 comment · May be fixed by #3269
Open
1 task done

TypeError: The "path" argument must be of type string. #3268

hahaha28 opened this issue May 22, 2022 · 1 comment · May be fixed by #3269

Comments

@hahaha28
Copy link

Description

  • Can you reproduce the issue?

Steps to reproduce

  1. set upload image by command line .
  2. use screenshot software to catch a image and save in clipboard.
  3. paste in Marktext.

Expected behavior:

upload image

Actual behavior:

Uncaught (in promise) TypeError: The "path" argument must be of type string. Received type number (1653197731056)
    at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
    at new NodeError (node:internal/errors:371:5)
    at validateString (node:internal/validators:119:11)
    at Object.join (node:path:1172:7)
    at uploadByCommand (fileSystem.js?1f2b:158:1)
    at FileReader.reader.onload (fileSystem.js?1f2b:228:1)

Link to an example: [optional]

Versions

  • MarkText version: 0.17.1
  • Operating system: macOS Monterey
@hahaha28 hahaha28 linked a pull request May 22, 2022 that will close this issue
@dalianzhu
Copy link

dalianzhu commented May 30, 2023

same issue

It's unfortunate that this project seems to be inactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants