vscode-git-graph icon indicating copy to clipboard operation
vscode-git-graph copied to clipboard

Errors when trying to build codebase

Open Omcsesz opened this issue 3 years ago • 2 comments
trafficstars

Hello, Team!

@mhutchie After cloning the repo, I tried to build the codebase using the steps in https://github.com/mhutchie/vscode-git-graph/blob/develop/CONTRIBUTING.md. But after step3, I get the following error:

node_modules/@types/prettier/index.d.ts:41:54 - error TS2315: Type 'IsTuple' is not generic.

Steps to Reproduce Steps to reproduce the behaviour:

  1. Clone the repository
  2. Open it in VSCode
  3. Run npm install in terminal
  4. Run npm run compile-src
  5. Run npm run compile

Expected Behaviour The code should be built without errors.

Environment

  • Git Graph Extension Version: 1.30.0
  • Visual Studio Code Version: 1.73.0
  • Operating System: Windows 10

Screenshots (optional) kép

Omcsesz avatar Nov 09 '22 14:11 Omcsesz

I got the following error instead: node_modules/@types/babel__traverse/index.d.ts:302:20 - error TS1005: ']' expected. I solved it by npm install @types/[email protected] --save-dev and got the same error above; then npm install @types/[email protected] --save-dev fix it for me.

destroy314 avatar Sep 27 '24 10:09 destroy314

try with node 18.17.1. npm run compile works for me.

natsuki-engr avatar May 27 '25 07:05 natsuki-engr