vs-deploy icon indicating copy to clipboard operation
vs-deploy copied to clipboard

Since VsCode Version : 1.53.0 Deploy crash on save

Open wobility opened this issue 3 years ago • 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

wobility avatar Feb 08 '21 13:02 wobility

I'm having the same issue.

iii-james avatar Feb 08 '21 14:02 iii-james

I have the same issue...

GregaUNK avatar Feb 10 '21 17:02 GregaUNK

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

Puresoft avatar Feb 12 '21 08:02 Puresoft

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

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

wobility avatar Feb 22 '21 12:02 wobility

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.

unional avatar Feb 23 '21 01:02 unional

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"

wobility avatar Feb 23 '21 10:02 wobility

Iam using Deploy (reloaded) but got the same problems... https://github.com/mkloubert/vscode-deploy-reloaded/issues/170

GregaUNK avatar Feb 23 '21 10:02 GregaUNK

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"
            }
        ]
    }
}

wobility avatar Feb 23 '21 10:02 wobility

could you explain what has changed in you code snippet?

Puresoft avatar Feb 23 '21 11:02 Puresoft

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: https://github.com/liximomo/vscode-sftp/issues/883#issuecomment-783402096

wiredcow avatar Feb 24 '21 19:02 wiredcow

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".

aviaryan avatar Mar 05 '21 18:03 aviaryan