Not able to build Redash frontend on a local

###Tried to build frontend as per redash document on local .
I cloned the release/10.0.x branch

getting error while running

yarn --frozen-lockfile

following error came

tsc --emitDeclarationOnly
sh: 1: tsc: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @redash/viz@1.0.0 type-gen: tsc --emitDeclarationOnly
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @redash/viz@1.0.0 type-gen script.

After few testing the error says as below

tsc --emitDeclarationOnly
src/visualizations/table/Renderer.tsx:125:9 - error TS2578: Unused ā€˜@ts-expect-errorā€™ directive.
125 // @ts-expect-error ts-migrate(2322) FIXME: Type '{ key: any; dataIndex: string; align: any; sā€¦ Remove this comment to see the full error message
Found 1 error.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @redash/viz@1.0.0 type-gen: tsc --emitDeclarationOnly
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @redash/viz@1.0.0 type-gen script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

A summary of the issue and the browser/OS environment in which it occurs.

i was able setup release/9.0.x & master branch successfully on this latest branch is having some issue with my local

Technical details:

  • Redash Version:10.1.0
  • Browser/OS: chrome
  • How did you install Redash: developer installation doc (Advanced)

Please let me know if anyone can help me with this?