iocave / monkey-patch

Inject custom javascript into vscode
MIT License
154 stars 17 forks source link

How build this extension? #64

Open aquinary opened 1 year ago

aquinary commented 1 year ago

I want to make some changes for my own use but I get an error during node_modules install

I am using node 18.12.1

 ~/g/monkey-patch  yarn install
yarn install v1.22.19
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
warning monkey-patch@0.1.23: The engine "vscode" appears to be invalid.
[2/5] Resolving packages...
warning vscode@1.1.37: This package is deprecated in favor of @types/vscode and vscode-test. For more information please read: https://code.visualstudio.com/updates/v1_36#_splitting-vscode-package-into-typesvscode-and-vscodetest
warning vscode > mocha > mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning vscode > vscode-test@0.4.3: This package has been renamed to @vscode/test-electron, please update to the new name
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
$ node ./node_modules/vscode/bin/install
[########################################################################################################################] 142/142Detected VS Code engine version: ^1.71.2
Found minimal version that qualifies engine range: 1.71.2
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/74b1f979648cc44d385a2286793c226e611f59e7/src/vs/vscode.d.ts
Error installing vscode.d.ts: Error: Request returned status code: 404
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.