src/visualizations/table/Renderer.tsx(130,9): error TS2578: Unused ‘@ts-expect-error’ directive.

A summary of the issue :slight_smile:
I am using this Redash guide https://redash.io/help/open-source/dev-guide/remote-server
when i do npm install i get the error bellow :

Can someone help me or explain to me what is going on? Am I doing something wrong :no_mouth:?

Technical details:

  • Node Version: v15.10.0
  • NPM Version: v7.5.3
  • Browser/OS: i have wondows machine
  • How did you install Redash: clone github repo + npm install

we have a similar following issue with when we build using npm run build:

  • error TS2578: Unused ‘@ts-expect-error’ directive.

Let me know if you were able to resolve the issue or someone did. Thanks
Technical details:

  • Node Version: v16.11.1
  • NPM Version: v8.0.0
  • Browser/OS: Deploying o Mac OS Big Sur
  • How did you install Redash: v10 code from github and followed the development guide (npm install, npm run build, npm run start)

me too. official doc is so bad1

If you’re running the latest version of master you should use yarn and not npm.

I delete redash-master/node_modules/@redash/viz/src/visualizations/table/Renderer.tsx line 125 “//@ts-expect-error’ XXXXXXXX” , it works