shikijs / textmate-grammars-themes

Collection of TextMate grammars and themes in JSON
https://textmate-grammars-themes.netlify.app/
MIT License
108 stars 54 forks source link

`pnpm run fetch` fails #12

Closed kaf-lamed-beyt closed 10 months ago

kaf-lamed-beyt commented 10 months ago

Describe the bug

I've tried using pnpm run fetch a couple of times now. But it keeps failing. Below is the error I in my terminal.

Failed to parse vb from https://github.com/microsoft/vscode/blob/0a71ec927ce51ef5cc43d3c7af1da4961c9371e0/extensions/vb/syntaxes/asp-vb-net.tmlanguage.json

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
{ error: 1, offset: 6, length: 9 }

Node.js v20.10.0
 ELIFECYCLE  Command failed with exit code 1.
 ```
 
 So I tried visiting the GitHub link and discovered the file no longer exists.

![not-found](https://github.com/antfu/textmate-grammars-themes/assets/48127194/85ed9120-1f1f-42b6-b9e5-290c148ae0e5)

### Reproduction

pnpm run fetch fails

### System Info

```Shell
System:
    OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (4) x64 Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
    Memory: 9.58 GB / 15.49 GB
    Container: Yes
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 10.2.5 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: 8.14.0 - ~/Documents/codes/oss/textmate-grammars-themes/node_modules/.bin/pnpm
  Browsers:
    Chrome: 120.0.6099.199

Used Package Manager

pnpm

Validations