###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)
With this change I’m able to build using node 14 and yarn 1.22 without any modifications. I’ve been developing without issues for the past few weeks with this exact setup (about two dozen pull requests).
Login or sign up disabled while the site is in read only mode