mkloubert / vs-deploy

Visual Studio Code extension that provides commands to deploy files of a workspace to a destination.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vs-deploy
MIT License
131 stars 24 forks source link

Since VsCode Version : 1.53.0 Deploy crash on save #173

Open wobility opened 3 years ago

wobility commented 3 years ago

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

iii-james commented 3 years ago

I'm having the same issue.

GregaUNK commented 3 years ago

I have the same issue...

Puresoft commented 3 years ago

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

wobility commented 3 years ago

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

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

unional commented 3 years ago

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.

wobility commented 3 years ago

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 :

GregaUNK commented 3 years ago

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

wobility commented 3 years ago

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"
            }
        ]
    }
}
Puresoft commented 3 years ago

could you explain what has changed in you code snippet?

wiredcow commented 3 years ago

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

aviaryan commented 3 years ago

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