We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output of bun run devstart:
bun run devstart
Failed to compile. SyntaxError: /home/user/Downloads/sequel/src/helpers/storage.ts: 'import' and 'export' may only appear at the top level. (219:0) 217 | return ORGANS_DATA; 218 | > 219 | export const handleStoreInsights = (content: string, moduleName: string) => { | ^ 220 | const localData = localStorage.getItem("insights"); 221 | if (!localData) { 222 | localStorage.setItem("insights", JSON.stringify([{ data: content, dateCreated: new Date().toISOString()?.split("T")[0], moduleName }])); WARNING in ./node_modules/parse5/dist/common/doctype.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/common/doctype.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/common/doctype.js.map' WARNING in ./node_modules/parse5/dist/common/error-codes.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/common/error-codes.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/common/error-codes.js.map' WARNING in ./node_modules/parse5/dist/common/foreign-content.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/common/foreign-content.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/common/foreign-content.js.map' WARNING in ./node_modules/parse5/dist/common/html.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/common/html.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/common/html.js.map' WARNING in ./node_modules/parse5/dist/common/token.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/common/token.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/common/token.js.map' WARNING in ./node_modules/parse5/dist/common/unicode.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/common/unicode.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/common/unicode.js.map' WARNING in ./node_modules/parse5/dist/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/index.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/index.js.map' WARNING in ./node_modules/parse5/dist/parser/formatting-element-list.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/parser/formatting-element-list.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/parser/formatting-element-list.js.map' WARNING in ./node_modules/parse5/dist/parser/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/parser/index.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/parser/index.js.map' WARNING in ./node_modules/parse5/dist/parser/open-element-stack.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/parser/open-element-stack.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/parser/open-element-stack.js.map' WARNING in ./node_modules/parse5/dist/serializer/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/serializer/index.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/serializer/index.js.map' WARNING in ./node_modules/parse5/dist/tokenizer/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/tokenizer/index.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/tokenizer/index.js.map' WARNING in ./node_modules/parse5/dist/tokenizer/preprocessor.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/tokenizer/preprocessor.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/tokenizer/preprocessor.js.map' WARNING in ./node_modules/parse5/dist/tree-adapters/default.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/user/Downloads/sequel/node_modules/parse5/dist/tree-adapters/default.js.map' file: Error: ENOENT: no such file or directory, open '/home/user/Downloads/sequel/node_modules/parse5/dist/tree-adapters/default.js.map' WARNING in [eslint] src/components/AppTitlebar.tsx Line 4:17: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/components/SkeletonFileTag.tsx Line 4:25: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/components/chat/FileTag.tsx Line 17:18: 'setLoading' is assigned a value but never used @typescript-eslint/no-unused-vars src/components/chat/ReplyBoxNoDocs.tsx Line 18:2: 'openSidePanel' is defined but never used @typescript-eslint/no-unused-vars Line 23:23: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/components/spinner.tsx Line 2:14: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 8:44: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/helpers/transcribe.ts Line 10:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/helpers/utils/makeOrgans.ts Line 12:35: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/chat/Chat.tsx Line 31:55: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 85:28: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 91:34: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 110:35: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 125:32: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 133:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 140:63: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/insights/InsightCard.tsx Line 4:82: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/journal/Journal.tsx Line 13:17: 'setLsData' is assigned a value but never used @typescript-eslint/no-unused-vars src/modules/journal/SingleNote.tsx Line 18:16: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 58:15: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 71:27: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 80:11: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 104:31: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/labs/EmptyState.tsx Line 7:25: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/labs/Labs.tsx Line 26:51: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 45:20: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 73:26: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 92:29: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 98:30: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 130:31: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 141:25: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/oura/Oura.tsx Line 28:55: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 29:59: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 30:53: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 31:61: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 65:46: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 126:19: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 149:21: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 174:22: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 180:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 192:43: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 203:49: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 219:51: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 238:47: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 292:56: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 297:56: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 297:67: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 318:54: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 323:52: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 339:58: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 345:10: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 345:21: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 357:24: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 379:65: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 384:59: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/settings/Settings.tsx Line 22:10: 'Input' is defined but never used @typescript-eslint/no-unused-vars Line 28:17: 'setApiKey' is assigned a value but never used @typescript-eslint/no-unused-vars src/modules/whoop/LLMLogic.tsx Line 16:35: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 534:68: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any src/modules/whoop/Whoop.tsx Line 29:55: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 30:59: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 31:55: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 61:47: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 120:19: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 142:21: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 167:22: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 171:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 181:49: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 191:50: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 199:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 251:56: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 257:10: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 257:21: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 268:24: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 288:56: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 294:10: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 294:21: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 305:24: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 326:62: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 332:10: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 332:21: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Line 349:18: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any ERROR in ./src/helpers/storage.ts Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /home/user/Downloads/sequel/src/helpers/storage.ts: 'import' and 'export' may only appear at the top level. (219:0) 217 | return ORGANS_DATA; 218 | > 219 | export const handleStoreInsights = (content: string, moduleName: string) => { | ^ 220 | const localData = localStorage.getItem("insights"); 221 | if (!localData) { 222 | localStorage.setItem("insights", JSON.stringify([{ data: content, dateCreated: new Date().toISOString()?.split("T")[0], moduleName }])); at constructor (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:353:19) at TypeScriptParserMixin.raise (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:3277:19) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12342:18) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) at TypeScriptParserMixin.parseStatementListItem (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12219:17) at TypeScriptParserMixin.parseBlockOrModuleBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12796:61) at TypeScriptParserMixin.parseBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12789:10) at TypeScriptParserMixin.parseBlock (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12777:10) at /home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12698:72 at TypeScriptParserMixin.withSmartMixTopicForbiddingContext (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11913:14) at TypeScriptParserMixin.parseTryStatement (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12698:26) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12276:21) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) at TypeScriptParserMixin.parseStatementListItem (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12219:17) at TypeScriptParserMixin.parseBlockOrModuleBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12796:61) at TypeScriptParserMixin.parseBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12789:10) at TypeScriptParserMixin.parseBlock (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12777:10) at TypeScriptParserMixin.parseFunctionBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11616:24) at TypeScriptParserMixin.parseArrowExpression (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11591:10) at TypeScriptParserMixin.parseParenAndDistinguishExpression (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11211:12) at TypeScriptParserMixin.parseExprAtom (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10857:23) at TypeScriptParserMixin.parseExprSubscripts (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10590:23) at TypeScriptParserMixin.parseUpdate (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10573:21) at TypeScriptParserMixin.parseMaybeUnary (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10551:23) at TypeScriptParserMixin.parseMaybeUnary (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9466:18) at TypeScriptParserMixin.parseMaybeUnaryOrPrivate (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10405:61) at TypeScriptParserMixin.parseExprOps (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10410:23) at TypeScriptParserMixin.parseMaybeConditional (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10387:23) at TypeScriptParserMixin.parseMaybeAssign (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10348:21) at TypeScriptParserMixin.parseMaybeAssign (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9415:20) at /home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10318:39 at TypeScriptParserMixin.allowInAnd (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11931:16) at TypeScriptParserMixin.parseMaybeAssignAllowIn (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10318:17) at TypeScriptParserMixin.parseVar (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12864:91) at TypeScriptParserMixin.parseVarStatement (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12710:10) at TypeScriptParserMixin.parseVarStatement (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9112:31) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12322:23) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) at TypeScriptParserMixin.parseStatementListItem (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12219:17) at TypeScriptParserMixin.parseExportDeclaration (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:13396:17) at TypeScriptParserMixin.parseExportDeclaration (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9270:85) at TypeScriptParserMixin.maybeParseExportDeclaration (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:13355:31) at TypeScriptParserMixin.parseExport (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:13282:29) at TypeScriptParserMixin.parseExport (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9089:20) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12352:27) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) ERROR in ./src/helpers/utils/makeInsight.ts 8:25-46 export 'getInsightsAssestment' (imported as 'getInsightsAssestment') was not found in 'src/modules/whoop/LLMLogic' (possible exports: ChatEmitter, getAnswer, getInsightsData, getOrganHealthAssessment, removeExistingThread) ERROR in [eslint] src/components/sidebar/Sidebar.tsx Line 29:1: Expected indentation of 1 tab but found 4 spaces indent Line 30:1: Expected indentation of 1 tab but found 4 spaces indent src/helpers/storage.ts Line 329: Parsing error: '}' expected src/modules/whoop/LLMLogic.tsx Line 538:1: Expected indentation of 2 tabs but found 1 indent Line 539:1: Expected indentation of 3 tabs but found 2 indent Line 540:1: Expected indentation of 2 tabs but found 1 indent Search for the keywords to learn more about each error. webpack compiled with 3 errors and 15 warnings ERROR in src/components/chat/ReplyBox.tsx:6:10 TS2459: Module '"src/helpers/storage"' declares 'storeFiles' locally, but it is not exported. 4 | // @ts-ignore 5 | import * as pdfjsWorker from "pdfjs-dist/build/pdf.worker.mjs"; > 6 | import { storeFiles } from "src/helpers/storage"; | ^^^^^^^^^^ 7 | 8 | PDFJS.GlobalWorkerOptions.workerSrc = pdfjsWorker; 9 | ERROR in src/helpers/storage.ts TS1005: '}' expected. ERROR in src/helpers/utils/makeInsight.ts:1:10 TS2305: Module '"src/modules/whoop/LLMLogic"' has no exported member 'getInsightsAssestment'. > 1 | import { getInsightsAssestment } from "src/modules/whoop/LLMLogic"; | ^^^^^^^^^^^^^^^^^^^^^ 2 | import { handleStoreInsights } from "../storage"; 3 | 4 | export const makeInsight = async (moduleName: string, data: string) => { ERROR in src/helpers/utils/makeInsight.ts:2:10 TS2305: Module '"../storage"' has no exported member 'handleStoreInsights'. 1 | import { getInsightsAssestment } from "src/modules/whoop/LLMLogic"; > 2 | import { handleStoreInsights } from "../storage"; | ^^^^^^^^^^^^^^^^^^^ 3 | 4 | export const makeInsight = async (moduleName: string, data: string) => { 5 | if (!data) return ERROR in src/modules/chat/Chat.tsx:7:2 TS2459: Module '"src/helpers/storage"' declares 'getChatMessagesData' locally, but it is not exported. 5 | import { TrashIcon, CrumpledPaperIcon } from "@radix-ui/react-icons"; 6 | import { > 7 | getChatMessagesData, | ^^^^^^^^^^^^^^^^^^^ 8 | getFiles, 9 | getJournalData, 10 | getWhoopData, ERROR in src/modules/chat/Chat.tsx:8:2 TS2459: Module '"src/helpers/storage"' declares 'getFiles' locally, but it is not exported. 6 | import { 7 | getChatMessagesData, > 8 | getFiles, | ^^^^^^^^ 9 | getJournalData, 10 | getWhoopData, 11 | storeChatMessagesData, ERROR in src/modules/chat/Chat.tsx:9:2 TS2459: Module '"src/helpers/storage"' declares 'getJournalData' locally, but it is not exported. 7 | getChatMessagesData, 8 | getFiles, > 9 | getJournalData, | ^^^^^^^^^^^^^^ 10 | getWhoopData, 11 | storeChatMessagesData, 12 | } from "src/helpers/storage"; ERROR in src/modules/chat/Chat.tsx:10:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopData' locally, but it is not exported. 8 | getFiles, 9 | getJournalData, > 10 | getWhoopData, | ^^^^^^^^^^^^ 11 | storeChatMessagesData, 12 | } from "src/helpers/storage"; 13 | import ReplyBoxNoDocs from "src/components/chat/ReplyBoxNoDocs"; ERROR in src/modules/chat/Chat.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'storeChatMessagesData' locally, but it is not exported. 9 | getJournalData, 10 | getWhoopData, > 11 | storeChatMessagesData, | ^^^^^^^^^^^^^^^^^^^^^ 12 | } from "src/helpers/storage"; 13 | import ReplyBoxNoDocs from "src/components/chat/ReplyBoxNoDocs"; 14 | import { ERROR in src/modules/insights/Insights.tsx:2:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getInsightsData'. 1 | import { > 2 | getInsightsData | ^^^^^^^^^^^^^^^ 3 | } from "src/helpers/storage"; 4 | import { InsightItem } from "./InsightCard"; 5 | ERROR in src/modules/journal/Journal.tsx:2:10 TS2459: Module '"src/helpers/storage"' declares 'getJournalData' locally, but it is not exported. 1 | import { useEffect, useState } from "react"; > 2 | import { getJournalData, storeJournalData } from "src/helpers/storage"; | ^^^^^^^^^^^^^^ 3 | import SingleNote from "./SingleNote"; 4 | 5 | const Journal = () => { ERROR in src/modules/journal/Journal.tsx:2:26 TS2459: Module '"src/helpers/storage"' declares 'storeJournalData' locally, but it is not exported. 1 | import { useEffect, useState } from "react"; > 2 | import { getJournalData, storeJournalData } from "src/helpers/storage"; | ^^^^^^^^^^^^^^^^ 3 | import SingleNote from "./SingleNote"; 4 | 5 | const Journal = () => { ERROR in src/modules/labs/Labs.tsx:2:10 TS2459: Module '"src/helpers/storage"' declares 'getFiles' locally, but it is not exported. 1 | import { useState } from "react"; > 2 | import { getFiles, storeFiles } from "src/helpers/storage"; | ^^^^^^^^ 3 | import { LabsEmptyState } from "./EmptyState"; 4 | import * as PDFJS from "pdfjs-dist"; 5 | // @ts-ignore ERROR in src/modules/labs/Labs.tsx:2:20 TS2459: Module '"src/helpers/storage"' declares 'storeFiles' locally, but it is not exported. 1 | import { useState } from "react"; > 2 | import { getFiles, storeFiles } from "src/helpers/storage"; | ^^^^^^^^^^ 3 | import { LabsEmptyState } from "./EmptyState"; 4 | import * as PDFJS from "pdfjs-dist"; 5 | // @ts-ignore ERROR in src/modules/oura/Oura.tsx:3:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraData' locally, but it is not exported. 1 | import { useCallback, useEffect, useMemo, useState } from "react"; 2 | import { > 3 | getOuraData, | ^^^^^^^^^^^ 4 | getOuraDataTypes, 5 | getOuraFetchedDay, 6 | getOuraRefreshToken, ERROR in src/modules/oura/Oura.tsx:4:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraDataTypes' locally, but it is not exported. 2 | import { 3 | getOuraData, > 4 | getOuraDataTypes, | ^^^^^^^^^^^^^^^^ 5 | getOuraFetchedDay, 6 | getOuraRefreshToken, 7 | getOuraToken, ERROR in src/modules/oura/Oura.tsx:5:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraFetchedDay' locally, but it is not exported. 3 | getOuraData, 4 | getOuraDataTypes, > 5 | getOuraFetchedDay, | ^^^^^^^^^^^^^^^^^ 6 | getOuraRefreshToken, 7 | getOuraToken, 8 | storeOuraData, ERROR in src/modules/oura/Oura.tsx:6:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraRefreshToken' locally, but it is not exported. 4 | getOuraDataTypes, 5 | getOuraFetchedDay, > 6 | getOuraRefreshToken, | ^^^^^^^^^^^^^^^^^^^ 7 | getOuraToken, 8 | storeOuraData, 9 | storeOuraDataTypes, ERROR in src/modules/oura/Oura.tsx:7:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraToken' locally, but it is not exported. 5 | getOuraFetchedDay, 6 | getOuraRefreshToken, > 7 | getOuraToken, | ^^^^^^^^^^^^ 8 | storeOuraData, 9 | storeOuraDataTypes, 10 | storeOuraFetchedDay, ERROR in src/modules/oura/Oura.tsx:8:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraData' locally, but it is not exported. 6 | getOuraRefreshToken, 7 | getOuraToken, > 8 | storeOuraData, | ^^^^^^^^^^^^^ 9 | storeOuraDataTypes, 10 | storeOuraFetchedDay, 11 | storeOuraRefreshToken, ERROR in src/modules/oura/Oura.tsx:9:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraDataTypes' locally, but it is not exported. 7 | getOuraToken, 8 | storeOuraData, > 9 | storeOuraDataTypes, | ^^^^^^^^^^^^^^^^^^ 10 | storeOuraFetchedDay, 11 | storeOuraRefreshToken, 12 | storeOuraToken, ERROR in src/modules/oura/Oura.tsx:10:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraFetchedDay' locally, but it is not exported. 8 | storeOuraData, 9 | storeOuraDataTypes, > 10 | storeOuraFetchedDay, | ^^^^^^^^^^^^^^^^^^^ 11 | storeOuraRefreshToken, 12 | storeOuraToken, 13 | } from "src/helpers/storage"; ERROR in src/modules/oura/Oura.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraRefreshToken' locally, but it is not exported. 9 | storeOuraDataTypes, 10 | storeOuraFetchedDay, > 11 | storeOuraRefreshToken, | ^^^^^^^^^^^^^^^^^^^^^ 12 | storeOuraToken, 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; ERROR in src/modules/oura/Oura.tsx:12:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraToken' locally, but it is not exported. 10 | storeOuraFetchedDay, 11 | storeOuraRefreshToken, > 12 | storeOuraToken, | ^^^^^^^^^^^^^^ 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; 15 | import DataMenu from "./DataMenu"; ERROR in src/modules/settings/Settings.tsx:19:10 TS2305: Module '"src/helpers/storage"' has no exported member 'getAIKey'. 17 | SelectValue, 18 | } from "src/components/ui/select"; > 19 | import { getAIKey, getSelectedAIConfiguration } from "src/helpers/storage"; | ^^^^^^^^ 20 | import { removeExistingThread } from "../whoop/LLMLogic"; 21 | import { ModuleContainer } from "src/components/Containers"; 22 | import { Input } from "src/components/ui/input"; ERROR in src/modules/settings/Settings.tsx:19:20 TS2305: Module '"src/helpers/storage"' has no exported member 'getSelectedAIConfiguration'. 17 | SelectValue, 18 | } from "src/components/ui/select"; > 19 | import { getAIKey, getSelectedAIConfiguration } from "src/helpers/storage"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | import { removeExistingThread } from "../whoop/LLMLogic"; 21 | import { ModuleContainer } from "src/components/Containers"; 22 | import { Input } from "src/components/ui/input"; ERROR in src/modules/whoop/LLMLogic.tsx:5:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getSelectedAIConfiguration'. 3 | import { MessageType } from "src/helpers/types/message.types"; 4 | import { > 5 | getSelectedAIConfiguration, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | getAIKey, 7 | getAssistantId, 8 | getThreadId, ERROR in src/modules/whoop/LLMLogic.tsx:6:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getAIKey'. 4 | import { 5 | getSelectedAIConfiguration, > 6 | getAIKey, | ^^^^^^^^ 7 | getAssistantId, 8 | getThreadId, 9 | storeThreadId, ERROR in src/modules/whoop/LLMLogic.tsx:7:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getAssistantId'. 5 | getSelectedAIConfiguration, 6 | getAIKey, > 7 | getAssistantId, | ^^^^^^^^^^^^^^ 8 | getThreadId, 9 | storeThreadId, 10 | storeAssistantId, ERROR in src/modules/whoop/LLMLogic.tsx:8:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getThreadId'. 6 | getAIKey, 7 | getAssistantId, > 8 | getThreadId, | ^^^^^^^^^^^ 9 | storeThreadId, 10 | storeAssistantId, 11 | getFiles, ERROR in src/modules/whoop/LLMLogic.tsx:9:2 TS2305: Module '"src/helpers/storage"' has no exported member 'storeThreadId'. 7 | getAssistantId, 8 | getThreadId, > 9 | storeThreadId, | ^^^^^^^^^^^^^ 10 | storeAssistantId, 11 | getFiles, 12 | getJournalData, ERROR in src/modules/whoop/LLMLogic.tsx:10:2 TS2305: Module '"src/helpers/storage"' has no exported member 'storeAssistantId'. 8 | getThreadId, 9 | storeThreadId, > 10 | storeAssistantId, | ^^^^^^^^^^^^^^^^ 11 | getFiles, 12 | getJournalData, 13 | } from "src/helpers/storage"; ERROR in src/modules/whoop/LLMLogic.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'getFiles' locally, but it is not exported. 9 | storeThreadId, 10 | storeAssistantId, > 11 | getFiles, | ^^^^^^^^ 12 | getJournalData, 13 | } from "src/helpers/storage"; 14 | ERROR in src/modules/whoop/LLMLogic.tsx:12:2 TS2459: Module '"src/helpers/storage"' declares 'getJournalData' locally, but it is not exported. 10 | storeAssistantId, 11 | getFiles, > 12 | getJournalData, | ^^^^^^^^^^^^^^ 13 | } from "src/helpers/storage"; 14 | 15 | class EventEmitter extends EventTarget { ERROR in src/modules/whoop/LLMLogic.tsx:417:13 TS2304: Cannot find name 'getOrgans'. 415 | 416 | try { > 417 | organs = getOrgans(); | ^^^^^^^^^ 418 | } catch (e) { 419 | console.error(e); 420 | } ERROR in src/modules/whoop/Whoop.tsx:3:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopData' locally, but it is not exported. 1 | import { useCallback, useEffect, useMemo, useState } from "react"; 2 | import { > 3 | getWhoopData, | ^^^^^^^^^^^^ 4 | getWhoopDataTypes, 5 | getWhoopFetchedDay, 6 | getWhoopRefreshToken, ERROR in src/modules/whoop/Whoop.tsx:4:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopDataTypes' locally, but it is not exported. 2 | import { 3 | getWhoopData, > 4 | getWhoopDataTypes, | ^^^^^^^^^^^^^^^^^ 5 | getWhoopFetchedDay, 6 | getWhoopRefreshToken, 7 | getWhoopToken, ERROR in src/modules/whoop/Whoop.tsx:5:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopFetchedDay' locally, but it is not exported. 3 | getWhoopData, 4 | getWhoopDataTypes, > 5 | getWhoopFetchedDay, | ^^^^^^^^^^^^^^^^^^ 6 | getWhoopRefreshToken, 7 | getWhoopToken, 8 | storeWhoopData, ERROR in src/modules/whoop/Whoop.tsx:6:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopRefreshToken' locally, but it is not exported. 4 | getWhoopDataTypes, 5 | getWhoopFetchedDay, > 6 | getWhoopRefreshToken, | ^^^^^^^^^^^^^^^^^^^^ 7 | getWhoopToken, 8 | storeWhoopData, 9 | storeWhoopDataTypes, ERROR in src/modules/whoop/Whoop.tsx:7:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopToken' locally, but it is not exported. 5 | getWhoopFetchedDay, 6 | getWhoopRefreshToken, > 7 | getWhoopToken, | ^^^^^^^^^^^^^ 8 | storeWhoopData, 9 | storeWhoopDataTypes, 10 | storeWhoopFetchedDay, ERROR in src/modules/whoop/Whoop.tsx:8:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopData' locally, but it is not exported. 6 | getWhoopRefreshToken, 7 | getWhoopToken, > 8 | storeWhoopData, | ^^^^^^^^^^^^^^ 9 | storeWhoopDataTypes, 10 | storeWhoopFetchedDay, 11 | storeWhoopRefreshToken, ERROR in src/modules/whoop/Whoop.tsx:9:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopDataTypes' locally, but it is not exported. 7 | getWhoopToken, 8 | storeWhoopData, > 9 | storeWhoopDataTypes, | ^^^^^^^^^^^^^^^^^^^ 10 | storeWhoopFetchedDay, 11 | storeWhoopRefreshToken, 12 | storeWhoopToken, ERROR in src/modules/whoop/Whoop.tsx:10:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopFetchedDay' locally, but it is not exported. 8 | storeWhoopData, 9 | storeWhoopDataTypes, > 10 | storeWhoopFetchedDay, | ^^^^^^^^^^^^^^^^^^^^ 11 | storeWhoopRefreshToken, 12 | storeWhoopToken, 13 | } from "src/helpers/storage"; ERROR in src/modules/whoop/Whoop.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopRefreshToken' locally, but it is not exported. 9 | storeWhoopDataTypes, 10 | storeWhoopFetchedDay, > 11 | storeWhoopRefreshToken, | ^^^^^^^^^^^^^^^^^^^^^^ 12 | storeWhoopToken, 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; ERROR in src/modules/whoop/Whoop.tsx:12:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopToken' locally, but it is not exported. 10 | storeWhoopFetchedDay, 11 | storeWhoopRefreshToken, > 12 | storeWhoopToken, | ^^^^^^^^^^^^^^^ 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; 15 | import DataMenu from "./DataMenu";
Output of bun run electron:
bun run electron
$ electron . [5997:0614/034509.300229:ERROR:browser_main_loop.cc(275)] Gdk: gdk_atom_intern: assertion 'atom_name != NULL' failed [5997:0614/034509.301000:ERROR:browser_main_loop.cc(275)] Gdk: gdk_atom_intern: assertion 'atom_name != NULL' failed (node:5997) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. (Use `electron --trace-warnings ...` to show where the warning was created) [6030:0614/034509.773066:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization [6042:0614/034509.919110:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
And in the Electron window:
Compiled with problems: × ERROR in ./src/helpers/storage.ts Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /home/user/Downloads/sequel/src/helpers/storage.ts: 'import' and 'export' may only appear at the top level. (219:0) 217 | return ORGANS_DATA; 218 | > 219 | export const handleStoreInsights = (content: string, moduleName: string) => { | ^ 220 | const localData = localStorage.getItem("insights"); 221 | if (!localData) { 222 | localStorage.setItem("insights", JSON.stringify([{ data: content, dateCreated: new Date().toISOString()?.split("T")[0], moduleName }])); at constructor (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:353:19) at TypeScriptParserMixin.raise (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:3277:19) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12342:18) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) at TypeScriptParserMixin.parseStatementListItem (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12219:17) at TypeScriptParserMixin.parseBlockOrModuleBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12796:61) at TypeScriptParserMixin.parseBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12789:10) at TypeScriptParserMixin.parseBlock (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12777:10) at /home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12698:72 at TypeScriptParserMixin.withSmartMixTopicForbiddingContext (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11913:14) at TypeScriptParserMixin.parseTryStatement (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12698:26) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12276:21) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) at TypeScriptParserMixin.parseStatementListItem (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12219:17) at TypeScriptParserMixin.parseBlockOrModuleBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12796:61) at TypeScriptParserMixin.parseBlockBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12789:10) at TypeScriptParserMixin.parseBlock (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12777:10) at TypeScriptParserMixin.parseFunctionBody (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11616:24) at TypeScriptParserMixin.parseArrowExpression (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11591:10) at TypeScriptParserMixin.parseParenAndDistinguishExpression (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11211:12) at TypeScriptParserMixin.parseExprAtom (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10857:23) at TypeScriptParserMixin.parseExprSubscripts (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10590:23) at TypeScriptParserMixin.parseUpdate (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10573:21) at TypeScriptParserMixin.parseMaybeUnary (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10551:23) at TypeScriptParserMixin.parseMaybeUnary (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9466:18) at TypeScriptParserMixin.parseMaybeUnaryOrPrivate (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10405:61) at TypeScriptParserMixin.parseExprOps (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10410:23) at TypeScriptParserMixin.parseMaybeConditional (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10387:23) at TypeScriptParserMixin.parseMaybeAssign (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10348:21) at TypeScriptParserMixin.parseMaybeAssign (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9415:20) at /home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10318:39 at TypeScriptParserMixin.allowInAnd (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:11931:16) at TypeScriptParserMixin.parseMaybeAssignAllowIn (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:10318:17) at TypeScriptParserMixin.parseVar (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12864:91) at TypeScriptParserMixin.parseVarStatement (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12710:10) at TypeScriptParserMixin.parseVarStatement (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9112:31) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12322:23) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) at TypeScriptParserMixin.parseStatementListItem (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12219:17) at TypeScriptParserMixin.parseExportDeclaration (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:13396:17) at TypeScriptParserMixin.parseExportDeclaration (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9270:85) at TypeScriptParserMixin.maybeParseExportDeclaration (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:13355:31) at TypeScriptParserMixin.parseExport (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:13282:29) at TypeScriptParserMixin.parseExport (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9089:20) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12352:27) at TypeScriptParserMixin.parseStatementContent (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:9142:18) at TypeScriptParserMixin.parseStatementLike (/home/user/Downloads/sequel/node_modules/@babel/parser/lib/index.js:12239:17) ERROR in ./src/helpers/utils/makeInsight.ts 8:25-46 export 'getInsightsAssestment' (imported as 'getInsightsAssestment') was not found in 'src/modules/whoop/LLMLogic' (possible exports: ChatEmitter, getAnswer, getInsightsData, getOrganHealthAssessment, removeExistingThread) ERROR [eslint] src/components/sidebar/Sidebar.tsx Line 29:1: Expected indentation of 1 tab but found 4 spaces indent Line 30:1: Expected indentation of 1 tab but found 4 spaces indent src/helpers/storage.ts Line 329: Parsing error: '}' expected src/modules/whoop/LLMLogic.tsx Line 538:1: Expected indentation of 2 tabs but found 1 indent Line 539:1: Expected indentation of 3 tabs but found 2 indent Line 540:1: Expected indentation of 2 tabs but found 1 indent Search for the keywords to learn more about each error. ERROR in src/components/chat/ReplyBox.tsx:6:10 TS2459: Module '"src/helpers/storage"' declares 'storeFiles' locally, but it is not exported. 4 | // @ts-ignore 5 | import * as pdfjsWorker from "pdfjs-dist/build/pdf.worker.mjs"; > 6 | import { storeFiles } from "src/helpers/storage"; | ^^^^^^^^^^ 7 | 8 | PDFJS.GlobalWorkerOptions.workerSrc = pdfjsWorker; 9 | ERROR in src/helpers/storage.ts TS1005: '}' expected. ERROR in src/helpers/utils/makeInsight.ts:1:10 TS2305: Module '"src/modules/whoop/LLMLogic"' has no exported member 'getInsightsAssestment'. > 1 | import { getInsightsAssestment } from "src/modules/whoop/LLMLogic"; | ^^^^^^^^^^^^^^^^^^^^^ 2 | import { handleStoreInsights } from "../storage"; 3 | 4 | export const makeInsight = async (moduleName: string, data: string) => { ERROR in src/helpers/utils/makeInsight.ts:2:10 TS2305: Module '"../storage"' has no exported member 'handleStoreInsights'. 1 | import { getInsightsAssestment } from "src/modules/whoop/LLMLogic"; > 2 | import { handleStoreInsights } from "../storage"; | ^^^^^^^^^^^^^^^^^^^ 3 | 4 | export const makeInsight = async (moduleName: string, data: string) => { 5 | if (!data) return ERROR in src/modules/chat/Chat.tsx:7:2 TS2459: Module '"src/helpers/storage"' declares 'getChatMessagesData' locally, but it is not exported. 5 | import { TrashIcon, CrumpledPaperIcon } from "@radix-ui/react-icons"; 6 | import { > 7 | getChatMessagesData, | ^^^^^^^^^^^^^^^^^^^ 8 | getFiles, 9 | getJournalData, 10 | getWhoopData, ERROR in src/modules/chat/Chat.tsx:8:2 TS2459: Module '"src/helpers/storage"' declares 'getFiles' locally, but it is not exported. 6 | import { 7 | getChatMessagesData, > 8 | getFiles, | ^^^^^^^^ 9 | getJournalData, 10 | getWhoopData, 11 | storeChatMessagesData, ERROR in src/modules/chat/Chat.tsx:9:2 TS2459: Module '"src/helpers/storage"' declares 'getJournalData' locally, but it is not exported. 7 | getChatMessagesData, 8 | getFiles, > 9 | getJournalData, | ^^^^^^^^^^^^^^ 10 | getWhoopData, 11 | storeChatMessagesData, 12 | } from "src/helpers/storage"; ERROR in src/modules/chat/Chat.tsx:10:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopData' locally, but it is not exported. 8 | getFiles, 9 | getJournalData, > 10 | getWhoopData, | ^^^^^^^^^^^^ 11 | storeChatMessagesData, 12 | } from "src/helpers/storage"; 13 | import ReplyBoxNoDocs from "src/components/chat/ReplyBoxNoDocs"; ERROR in src/modules/chat/Chat.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'storeChatMessagesData' locally, but it is not exported. 9 | getJournalData, 10 | getWhoopData, > 11 | storeChatMessagesData, | ^^^^^^^^^^^^^^^^^^^^^ 12 | } from "src/helpers/storage"; 13 | import ReplyBoxNoDocs from "src/components/chat/ReplyBoxNoDocs"; 14 | import { ERROR in src/modules/insights/Insights.tsx:2:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getInsightsData'. 1 | import { > 2 | getInsightsData | ^^^^^^^^^^^^^^^ 3 | } from "src/helpers/storage"; 4 | import { InsightItem } from "./InsightCard"; 5 | ERROR in src/modules/journal/Journal.tsx:2:10 TS2459: Module '"src/helpers/storage"' declares 'getJournalData' locally, but it is not exported. 1 | import { useEffect, useState } from "react"; > 2 | import { getJournalData, storeJournalData } from "src/helpers/storage"; | ^^^^^^^^^^^^^^ 3 | import SingleNote from "./SingleNote"; 4 | 5 | const Journal = () => { ERROR in src/modules/journal/Journal.tsx:2:26 TS2459: Module '"src/helpers/storage"' declares 'storeJournalData' locally, but it is not exported. 1 | import { useEffect, useState } from "react"; > 2 | import { getJournalData, storeJournalData } from "src/helpers/storage"; | ^^^^^^^^^^^^^^^^ 3 | import SingleNote from "./SingleNote"; 4 | 5 | const Journal = () => { ERROR in src/modules/labs/Labs.tsx:2:10 TS2459: Module '"src/helpers/storage"' declares 'getFiles' locally, but it is not exported. 1 | import { useState } from "react"; > 2 | import { getFiles, storeFiles } from "src/helpers/storage"; | ^^^^^^^^ 3 | import { LabsEmptyState } from "./EmptyState"; 4 | import * as PDFJS from "pdfjs-dist"; 5 | // @ts-ignore ERROR in src/modules/labs/Labs.tsx:2:20 TS2459: Module '"src/helpers/storage"' declares 'storeFiles' locally, but it is not exported. 1 | import { useState } from "react"; > 2 | import { getFiles, storeFiles } from "src/helpers/storage"; | ^^^^^^^^^^ 3 | import { LabsEmptyState } from "./EmptyState"; 4 | import * as PDFJS from "pdfjs-dist"; 5 | // @ts-ignore ERROR in src/modules/oura/Oura.tsx:3:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraData' locally, but it is not exported. 1 | import { useCallback, useEffect, useMemo, useState } from "react"; 2 | import { > 3 | getOuraData, | ^^^^^^^^^^^ 4 | getOuraDataTypes, 5 | getOuraFetchedDay, 6 | getOuraRefreshToken, ERROR in src/modules/oura/Oura.tsx:4:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraDataTypes' locally, but it is not exported. 2 | import { 3 | getOuraData, > 4 | getOuraDataTypes, | ^^^^^^^^^^^^^^^^ 5 | getOuraFetchedDay, 6 | getOuraRefreshToken, 7 | getOuraToken, ERROR in src/modules/oura/Oura.tsx:5:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraFetchedDay' locally, but it is not exported. 3 | getOuraData, 4 | getOuraDataTypes, > 5 | getOuraFetchedDay, | ^^^^^^^^^^^^^^^^^ 6 | getOuraRefreshToken, 7 | getOuraToken, 8 | storeOuraData, ERROR in src/modules/oura/Oura.tsx:6:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraRefreshToken' locally, but it is not exported. 4 | getOuraDataTypes, 5 | getOuraFetchedDay, > 6 | getOuraRefreshToken, | ^^^^^^^^^^^^^^^^^^^ 7 | getOuraToken, 8 | storeOuraData, 9 | storeOuraDataTypes, ERROR in src/modules/oura/Oura.tsx:7:2 TS2459: Module '"src/helpers/storage"' declares 'getOuraToken' locally, but it is not exported. 5 | getOuraFetchedDay, 6 | getOuraRefreshToken, > 7 | getOuraToken, | ^^^^^^^^^^^^ 8 | storeOuraData, 9 | storeOuraDataTypes, 10 | storeOuraFetchedDay, ERROR in src/modules/oura/Oura.tsx:8:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraData' locally, but it is not exported. 6 | getOuraRefreshToken, 7 | getOuraToken, > 8 | storeOuraData, | ^^^^^^^^^^^^^ 9 | storeOuraDataTypes, 10 | storeOuraFetchedDay, 11 | storeOuraRefreshToken, ERROR in src/modules/oura/Oura.tsx:9:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraDataTypes' locally, but it is not exported. 7 | getOuraToken, 8 | storeOuraData, > 9 | storeOuraDataTypes, | ^^^^^^^^^^^^^^^^^^ 10 | storeOuraFetchedDay, 11 | storeOuraRefreshToken, 12 | storeOuraToken, ERROR in src/modules/oura/Oura.tsx:10:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraFetchedDay' locally, but it is not exported. 8 | storeOuraData, 9 | storeOuraDataTypes, > 10 | storeOuraFetchedDay, | ^^^^^^^^^^^^^^^^^^^ 11 | storeOuraRefreshToken, 12 | storeOuraToken, 13 | } from "src/helpers/storage"; ERROR in src/modules/oura/Oura.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraRefreshToken' locally, but it is not exported. 9 | storeOuraDataTypes, 10 | storeOuraFetchedDay, > 11 | storeOuraRefreshToken, | ^^^^^^^^^^^^^^^^^^^^^ 12 | storeOuraToken, 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; ERROR in src/modules/oura/Oura.tsx:12:2 TS2459: Module '"src/helpers/storage"' declares 'storeOuraToken' locally, but it is not exported. 10 | storeOuraFetchedDay, 11 | storeOuraRefreshToken, > 12 | storeOuraToken, | ^^^^^^^^^^^^^^ 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; 15 | import DataMenu from "./DataMenu"; ERROR in src/modules/settings/Settings.tsx:19:10 TS2305: Module '"src/helpers/storage"' has no exported member 'getAIKey'. 17 | SelectValue, 18 | } from "src/components/ui/select"; > 19 | import { getAIKey, getSelectedAIConfiguration } from "src/helpers/storage"; | ^^^^^^^^ 20 | import { removeExistingThread } from "../whoop/LLMLogic"; 21 | import { ModuleContainer } from "src/components/Containers"; 22 | import { Input } from "src/components/ui/input"; ERROR in src/modules/settings/Settings.tsx:19:20 TS2305: Module '"src/helpers/storage"' has no exported member 'getSelectedAIConfiguration'. 17 | SelectValue, 18 | } from "src/components/ui/select"; > 19 | import { getAIKey, getSelectedAIConfiguration } from "src/helpers/storage"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | import { removeExistingThread } from "../whoop/LLMLogic"; 21 | import { ModuleContainer } from "src/components/Containers"; 22 | import { Input } from "src/components/ui/input"; ERROR in src/modules/whoop/LLMLogic.tsx:5:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getSelectedAIConfiguration'. 3 | import { MessageType } from "src/helpers/types/message.types"; 4 | import { > 5 | getSelectedAIConfiguration, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | getAIKey, 7 | getAssistantId, 8 | getThreadId, ERROR in src/modules/whoop/LLMLogic.tsx:6:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getAIKey'. 4 | import { 5 | getSelectedAIConfiguration, > 6 | getAIKey, | ^^^^^^^^ 7 | getAssistantId, 8 | getThreadId, 9 | storeThreadId, ERROR in src/modules/whoop/LLMLogic.tsx:7:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getAssistantId'. 5 | getSelectedAIConfiguration, 6 | getAIKey, > 7 | getAssistantId, | ^^^^^^^^^^^^^^ 8 | getThreadId, 9 | storeThreadId, 10 | storeAssistantId, ERROR in src/modules/whoop/LLMLogic.tsx:8:2 TS2305: Module '"src/helpers/storage"' has no exported member 'getThreadId'. 6 | getAIKey, 7 | getAssistantId, > 8 | getThreadId, | ^^^^^^^^^^^ 9 | storeThreadId, 10 | storeAssistantId, 11 | getFiles, ERROR in src/modules/whoop/LLMLogic.tsx:9:2 TS2305: Module '"src/helpers/storage"' has no exported member 'storeThreadId'. 7 | getAssistantId, 8 | getThreadId, > 9 | storeThreadId, | ^^^^^^^^^^^^^ 10 | storeAssistantId, 11 | getFiles, 12 | getJournalData, ERROR in src/modules/whoop/LLMLogic.tsx:10:2 TS2305: Module '"src/helpers/storage"' has no exported member 'storeAssistantId'. 8 | getThreadId, 9 | storeThreadId, > 10 | storeAssistantId, | ^^^^^^^^^^^^^^^^ 11 | getFiles, 12 | getJournalData, 13 | } from "src/helpers/storage"; ERROR in src/modules/whoop/LLMLogic.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'getFiles' locally, but it is not exported. 9 | storeThreadId, 10 | storeAssistantId, > 11 | getFiles, | ^^^^^^^^ 12 | getJournalData, 13 | } from "src/helpers/storage"; 14 | ERROR in src/modules/whoop/LLMLogic.tsx:12:2 TS2459: Module '"src/helpers/storage"' declares 'getJournalData' locally, but it is not exported. 10 | storeAssistantId, 11 | getFiles, > 12 | getJournalData, | ^^^^^^^^^^^^^^ 13 | } from "src/helpers/storage"; 14 | 15 | class EventEmitter extends EventTarget { ERROR in src/modules/whoop/LLMLogic.tsx:417:13 TS2304: Cannot find name 'getOrgans'. 415 | 416 | try { > 417 | organs = getOrgans(); | ^^^^^^^^^ 418 | } catch (e) { 419 | console.error(e); 420 | } ERROR in src/modules/whoop/Whoop.tsx:3:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopData' locally, but it is not exported. 1 | import { useCallback, useEffect, useMemo, useState } from "react"; 2 | import { > 3 | getWhoopData, | ^^^^^^^^^^^^ 4 | getWhoopDataTypes, 5 | getWhoopFetchedDay, 6 | getWhoopRefreshToken, ERROR in src/modules/whoop/Whoop.tsx:4:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopDataTypes' locally, but it is not exported. 2 | import { 3 | getWhoopData, > 4 | getWhoopDataTypes, | ^^^^^^^^^^^^^^^^^ 5 | getWhoopFetchedDay, 6 | getWhoopRefreshToken, 7 | getWhoopToken, ERROR in src/modules/whoop/Whoop.tsx:5:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopFetchedDay' locally, but it is not exported. 3 | getWhoopData, 4 | getWhoopDataTypes, > 5 | getWhoopFetchedDay, | ^^^^^^^^^^^^^^^^^^ 6 | getWhoopRefreshToken, 7 | getWhoopToken, 8 | storeWhoopData, ERROR in src/modules/whoop/Whoop.tsx:6:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopRefreshToken' locally, but it is not exported. 4 | getWhoopDataTypes, 5 | getWhoopFetchedDay, > 6 | getWhoopRefreshToken, | ^^^^^^^^^^^^^^^^^^^^ 7 | getWhoopToken, 8 | storeWhoopData, 9 | storeWhoopDataTypes, ERROR in src/modules/whoop/Whoop.tsx:7:2 TS2459: Module '"src/helpers/storage"' declares 'getWhoopToken' locally, but it is not exported. 5 | getWhoopFetchedDay, 6 | getWhoopRefreshToken, > 7 | getWhoopToken, | ^^^^^^^^^^^^^ 8 | storeWhoopData, 9 | storeWhoopDataTypes, 10 | storeWhoopFetchedDay, ERROR in src/modules/whoop/Whoop.tsx:8:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopData' locally, but it is not exported. 6 | getWhoopRefreshToken, 7 | getWhoopToken, > 8 | storeWhoopData, | ^^^^^^^^^^^^^^ 9 | storeWhoopDataTypes, 10 | storeWhoopFetchedDay, 11 | storeWhoopRefreshToken, ERROR in src/modules/whoop/Whoop.tsx:9:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopDataTypes' locally, but it is not exported. 7 | getWhoopToken, 8 | storeWhoopData, > 9 | storeWhoopDataTypes, | ^^^^^^^^^^^^^^^^^^^ 10 | storeWhoopFetchedDay, 11 | storeWhoopRefreshToken, 12 | storeWhoopToken, ERROR in src/modules/whoop/Whoop.tsx:10:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopFetchedDay' locally, but it is not exported. 8 | storeWhoopData, 9 | storeWhoopDataTypes, > 10 | storeWhoopFetchedDay, | ^^^^^^^^^^^^^^^^^^^^ 11 | storeWhoopRefreshToken, 12 | storeWhoopToken, 13 | } from "src/helpers/storage"; ERROR in src/modules/whoop/Whoop.tsx:11:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopRefreshToken' locally, but it is not exported. 9 | storeWhoopDataTypes, 10 | storeWhoopFetchedDay, > 11 | storeWhoopRefreshToken, | ^^^^^^^^^^^^^^^^^^^^^^ 12 | storeWhoopToken, 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; ERROR in src/modules/whoop/Whoop.tsx:12:2 TS2459: Module '"src/helpers/storage"' declares 'storeWhoopToken' locally, but it is not exported. 10 | storeWhoopFetchedDay, 11 | storeWhoopRefreshToken, > 12 | storeWhoopToken, | ^^^^^^^^^^^^^^^ 13 | } from "src/helpers/storage"; 14 | import axios from "axios"; 15 | import DataMenu from "./DataMenu";
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Output of
bun run devstart
:Output of
bun run electron
:And in the Electron window:
The text was updated successfully, but these errors were encountered: