###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 --emitDeclarationOnlynpm 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 --emitDeclarationOnlynpm 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