Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Since VsCode Version : 1.53.0 Deploy crash on save #173

Open
wobility opened this issue Feb 8, 2021 · 11 comments
Open

Since VsCode Version : 1.53.0 Deploy crash on save #173

wobility opened this issue Feb 8, 2021 · 11 comments

Comments

@wobility
Copy link

wobility commented Feb 8, 2021

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
Copy link

I'm having the same issue.

@GregaUNK
Copy link

I have the same issue...

@Puresoft
Copy link

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
Copy link
Author

wobility commented Feb 22, 2021

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

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

@unional
Copy link
Contributor

unional commented Feb 23, 2021

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
Copy link
Author

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"

@GregaUNK
Copy link

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

@wobility
Copy link
Author

wobility commented Feb 23, 2021

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 wobility reopened this Feb 23, 2021
@Puresoft
Copy link

Puresoft commented Feb 23, 2021

could you explain what has changed in you code snippet?

@wiredcow
Copy link

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)

@aviaryan
Copy link

aviaryan commented Mar 5, 2021

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

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

No branches or pull requests

7 participants