shiva gudimalla - Hey Team, We are working on ...
Hey Team, We are working on integrating thoughspot dashboard into our website,
Right now we copy the code from playgound and integrated that code code into our website .
We have website developed in angular, while running the website locally we are getting below error
./src/app/thoughtspot/thoughtspot.component.ts:2:0-108 - Error: Module not found: Error: Package path ./src is not exported from package C:\code\swiiprx-site\source\b2c\node_modules@thoughtspot\visual-embed-sdk (see exports field in C:\code\swiiprx-site\source\b2c\node_modules@thoughtspot\visual-embed-sdk\package.json)
Error: node_modules/@thoughtspot/visual-embed-sdk/src/auth.ts:372:27 - error TS2503: Cannot find namespace 'NodeJS'.
372 let popupClosedCheck: NodeJS.Timeout;
~~
Error: node_modules/@thoughtspot/visual-embed-sdk/src/index.ts:33:53 - error TS6142: Module './embed/search-bar' was resolved to 'C:/code/swiiprx-site/source/b2c/node_modules/@thoughtspot/visual-embed-sdk/src/embed/search-bar.tsx', but '--jsx' is not set.
33 import { SearchBarEmbed, SearchBarViewConfig } from './embed/search-bar';
Right now we copy the code from playgound and integrated that code code into our website .
We have website developed in angular, while running the website locally we are getting below error
./src/app/thoughtspot/thoughtspot.component.ts:2:0-108 - Error: Module not found: Error: Package path ./src is not exported from package C:\code\swiiprx-site\source\b2c\node_modules@thoughtspot\visual-embed-sdk (see exports field in C:\code\swiiprx-site\source\b2c\node_modules@thoughtspot\visual-embed-sdk\package.json)
Error: node_modules/@thoughtspot/visual-embed-sdk/src/auth.ts:372:27 - error TS2503: Cannot find namespace 'NodeJS'.
372 let popupClosedCheck: NodeJS.Timeout;
Error: node_modules/@thoughtspot/visual-embed-sdk/src/index.ts:33:53 - error TS6142: Module './embed/search-bar' was resolved to 'C:/code/swiiprx-site/source/b2c/node_modules/@thoughtspot/visual-embed-sdk/src/embed/search-bar.tsx', but '--jsx' is not set.
33 import { SearchBarEmbed, SearchBarViewConfig } from './embed/search-bar';