mkloubert/vs-deploy

Since VsCode Version : 1.53.0 Deploy crash on save

Opened this issue · 11 comments

Hi,

My VsCode version has updated automatically this morning. Now when I save file modification the feature Deploy on save crash. I have an error message on VsCode "The extension host terminated unexpectedly."

Do you know who I can fix that please ?

Image

I'm having the same issue.

I have the same issue...

I have the same issue... any news on that?

(node:8876) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 deploy.config.reloaded listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit

abstractExtensionService.ts:466 Extension host terminated unexpectedly. Code: 3221225477 Signal: null _onExtensionHostCrashed @ abstractExtensionService.ts:466

log.ts:197 ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, vscode.css-language-features, vscode.emmet, vscode.debug-auto-launch, vscode.git, CoenraadS.bracket-pair-colorizer, mkloubert.vs-deploy, ms-vscode.js-debug, vscode.github, vscode.merge-conflict, ms-vscode-remote.remote-wsl-recommender, vscode.testing-editor-contributions, eamodio.gitlens, vscode.github-authentication

notificationsAlerts.ts:40 Der Erweiterungshost wurde unerwartet beendet. onDidChangeNotification @ notificationsAlerts.ts:40

No news, I don't know if the deploy team saw this issue...?

I have the same issue... any news on that?

When looking deeper into the error, it is caused by this:
command 'extension.deploy.file' not found

Can confirm downgrading to 1.52.1 fixes it.

Ok, I find a way guys, I don't know why the support not help... May be because Marcel develop a new version of this extension.

Recoded version [↑]
I have started a new and recoded version of that extension, called vscode-deploy-reloaded, which is still in a preview, but good beta state.

SOLUTIONS :

  • You can use the new extension "Deploy (reloaded)"
  • Use other extention like "Push"

Iam using Deploy (reloaded) but got the same problems... mkloubert/vscode-deploy-reloaded#170

It's Ok for me now with Deploy Reloaded. Check my settings.json may be can help (This file parameter change between deploy and deploy reloaded).

{
    "deploy.reloaded": {
        "language" : "en",

        "packages": [
            {
                "name": "My website",
                "files": ["**/*.*"],
                "deployOnSave": ["SFTP my website"] 
            }
        ], 

        "targets": [
            {
                "type": "sftp",
                "name": "SFTP my website",
                "dir": "/var/www/my-website/",
                "host": "123.123.123.123", "port": 22,
                "user": "USER", "password": "PASSWORD"
            }
        ]
    }
}

could you explain what has changed in you code snippet?

Temporary work-around that worked for me, remove/comment the following line:

'diffie-hellman-group-exchange-sha256',

C:\Users\username\.vscode\extensions\mkloubert.vs-deploy-14.0.0\node_modules\ssh2-streams\lib\constants.js
(in Windows anyway)

This is based on:
liximomo/vscode-sftp#883 (comment)

I can confirm that switching to deploy reloaded works. No change in settings.json was required for me except switching the keyName to "deploy.reloaded".