satiromarra / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
23 stars 3 forks source link

Can I know how to compile .vsix #33

Closed AydenLin1022 closed 1 year ago

AydenLin1022 commented 1 year ago

HI, after I typed "vsce package", I have been unable to package the .vsix file correctly. Am I missing any steps?

My step: 1.git clone https://github.com/satiromarra/vscode-sftp.git 2.npm install 3.vsce package (fail)

image

satiromarra commented 1 year ago

@AydenLin1022 You must do the installation of npm with the same versions that are in the package.json, otherwise it will install major updates.

From stackoverflow:

By default npm installs packages using ^ which means any version in the same major range, you can switch this behaviour by using --save-exact

AydenLin1022 commented 1 year ago

@satiromarra Okay, I do installation of npm with the same versions now! but still fail ~ Here 833 errors image

And now I find problem, here commit (v1.17.11-beta1) always compile fail image

So I checkout commit to here (v1.17.0) image

Now is work! image

satiromarra commented 1 year ago

Possibly dependantbot has failed in something.

AydenLin1022 commented 1 year ago

Yeah, maybe, hope the next version will be better! Thank you!