Skip to content
New issue

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

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

Already on GitHub? # to your account

Import SSH PrivateKey From File not work #15

Open
yanickxia opened this issue Apr 22, 2024 · 0 comments
Open

Import SSH PrivateKey From File not work #15

yanickxia opened this issue Apr 22, 2024 · 0 comments

Comments

@yanickxia
Copy link

electerm-web Version and download file extension(electerm-web版本和下载文件后缀)

2.38.70

Platform detail (平台详情)

web

What steps will reproduce the bug?(重新问题的详细步骤)

image

consloe.log

"The "path" argument must be of type string or an instance of Buffer or URL. Received null"
"TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received null
    at open (node:internal/fs/promises:581:10)
    at Object.readFile (node:internal/fs/promises:1027:20)
    at Object.readFile (file:///app/electerm-web/src/app/lib/fs.js:316:18)
    at handleFs (file:///app/electerm-web/src/app/server/fs.js:9:11)
    at WebSocket.<anonymous> (file:///app/electerm-web/src/app/server/dispatch-center.js:172:9)
    at WebSocket.emit (node:events:517:28)
    at Receiver.receiverOnMessage (/app/electerm-web/node_modules/ws/lib/websocket.js:1068:20)
    at Receiver.emit (node:events:517:28)
    at Receiver.dataMessage (/app/electerm-web/node_modules/ws/lib/receiver.js:517:14)
    at /app/electerm-web/node_modules/ws/lib/receiver.js:468:23"

What should have happened?(期望的结果)

should save private key, but not

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants