joschan21 / quill

Quill - A Modern SaaS-Platform Built With Next.js 13
1.86k stars 490 forks source link

vercel deployment issue #36

Open Daniel235-web opened 10 months ago

Daniel235-web commented 10 months ago
./src/app/api/message/route.ts:57:5 -- 14:37:49.536 | Type error: Type 'VectorOperationsApi' is missing the following properties from type 'Index': config, target, deleteAll, _deleteAll, and 10 more. 14:37:49.536 |   14:37:49.536 | 55 \| 14:37:49.536 | 56 \| const vectorStore = await PineconeStore.fromExistingIndex(embeddings, { 14:37:49.536 | > 57 \| pineconeIndex, 14:37:49.536 | \| ^ 14:37:49.536 | 58 \| namespace: file.id, 14:37:49.537 | 59 \| }); 14:37:49.537 | 60 \| 14:37:49.682 | ELIFECYCLE  Command failed with exit code 1. 14:37:49.703 | Error: Command "pnpm run build" exited with 1
hempun10 commented 10 months ago

I think this is an typescript error:

const vectorStore = await PineconeStore.fromExistingIndex(embeddings, { //Use @ts-ignore here pineconeIndex, namespace: file.id, });

Daniel235-web commented 10 months ago

bro!!!! thank you so much it really worked !

gunjeetbawa10 commented 9 months ago

[17:31:27.822] Running build in Washington, D.C., USA (East) – iad1 (Hive) [17:31:27.956] Cloning github.com/gunjeetbawa10/quill (Branch: main, Commit: aae29d9) [17:31:27.966] Skipping build cache, deployment was triggered without cache. [17:31:33.866] Cloning completed: 5.910s [17:31:35.955] Running "vercel build" [17:31:36.431] Vercel CLI 32.5.6 [17:31:38.001] Installing dependencies... [17:31:38.470] yarn install v1.22.17 [17:31:38.545] warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [17:31:38.549] [1/4] Resolving packages... [17:31:39.943] [2/4] Fetching packages... [17:32:08.855] [3/4] Linking dependencies... [17:32:08.863] warning "ai > solid-swr-store@0.10.7" has unmet peer dependency "solid-js@^1.2". [17:32:08.863] warning "ai > sswr@2.0.0" has unmet peer dependency "svelte@^4.0.0". [17:32:08.864] warning "ai > swrv@1.0.4" has unmet peer dependency "vue@>=3.2.26 < 4". [17:32:20.120] [4/4] Building fresh packages... [17:32:23.347] success Saved lockfile. [17:32:23.352] $ prisma generate [17:32:24.044] Prisma schema loaded from prisma/schema.prisma [17:32:24.474] [17:32:24.474] ✔ Generated Prisma Client (v5.5.2) to ./node_modules/@prisma/client in 68ms [17:32:24.475] [17:32:24.475] Start using Prisma Client in Node.js (See: https://pris.ly/d/client) [17:32:24.475] [17:32:24.476] import { PrismaClient } from '@prisma/client' [17:32:24.476] const prisma = new PrismaClient() [17:32:24.476] [17:32:24.476] or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) [17:32:24.476] [17:32:24.477] import { PrismaClient } from '@prisma/client/edge' [17:32:24.477] const prisma = new PrismaClient() [17:32:24.477] [17:32:24.477] [17:32:24.477] See other ways of importing Prisma Client: http://pris.ly/d/importing-client [17:32:24.477] [17:32:24.514] Done in 46.05s. [17:32:24.566] Detected Next.js version: 13.5.6 [17:32:24.567] Running "yarn run build" [17:32:24.782] yarn run v1.22.17 [17:32:24.810] $ next build [17:32:28.040] Attention: Next.js now collects completely anonymous telemetry regarding usage. [17:32:28.040] This information is used to shape Next.js' roadmap and prioritize features. [17:32:28.040] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: [17:32:28.041] https://nextjs.org/telemetry [17:32:28.041] [17:32:28.134] Creating an optimized production build ... [17:33:01.332] ✓ Compiled successfully [17:33:01.333] Linting and checking validity of types ... [17:35:18.935] [17:35:18.935] Failed to compile. [17:35:18.935] [17:35:18.935] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/prism.js [17:35:18.936] 1631:4 Error: Definition for rule 'regexp/no-dupe-characters-character-class' was not found. regexp/no-dupe-characters-character-class [17:35:18.936] [17:35:18.936] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/simple-datatables.js [17:35:18.936] 1:344 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.936] [17:35:18.936] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/tinymce/plugins/codesample/plugin.js [17:35:18.936] 140:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.936] 2239:30 Error: React Hook "useGlobalPrismJS" is called in function "get" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.936] [17:35:18.936] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/tinymce/plugins/imagetools/plugin.js [17:35:18.936] 163:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.936] [17:35:18.936] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/tinymce/plugins/table/plugin.js [17:35:18.936] 7257:20 Error: React Hook "useColumnGroup" is called in function "insert" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.936] [17:35:18.936] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/tinymce/themes/mobile/theme.js [17:35:18.936] 4006:14 Error: React Hook "useH" is called in function "west" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.936] 4010:14 Error: React Hook "useH" is called in function "east" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.936] 6517:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.936] [17:35:18.936] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/tinymce/themes/silver/theme.js [17:35:18.939] 7409:14 Error: React Hook "useH" is called in function "west$1" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.939] 7413:14 Error: React Hook "useH" is called in function "east$1" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.939] 11080:53 Error: React Hook "useFixedContainer" is called in function "isStickyToolbar" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.940] 13933:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.940] 21544:38 Error: React Hook "useFixedContainer" is called in function "getAnchors" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.940] 29917:11 Error: React Hook "useFixedContainer" is called in function "setup$3" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.940] [17:35:18.940] ./src/app/main-file/Modules/LandingPage/Resources/assets/js/plugins/uppy.min.js [17:35:18.940] 1:242244 Error: React Hook "Ce.useCached" is called in function "e" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.941] [17:35:18.941] ./src/app/main-file/public/assets/js/plugins/prism.js [17:35:18.941] 1626:3 Error: Definition for rule 'regexp/no-dupe-characters-character-class' was not found. regexp/no-dupe-characters-character-class [17:35:18.941] [17:35:18.941] ./src/app/main-file/public/assets/js/plugins/simple-datatables.js [17:35:18.942] 1:344 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.942] [17:35:18.942] ./src/app/main-file/public/assets/js/plugins/tinymce/plugins/codesample/plugin.js [17:35:18.942] 140:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.942] 2116:30 Error: React Hook "useGlobalPrismJS" is called in function "get" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.942] [17:35:18.942] ./src/app/main-file/public/assets/js/plugins/tinymce/plugins/imagetools/plugin.js [17:35:18.943] 163:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.943] [17:35:18.943] ./src/app/main-file/public/assets/js/plugins/tinymce/plugins/table/plugin.js [17:35:18.943] 7257:20 Error: React Hook "useColumnGroup" is called in function "insert" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.944] [17:35:18.944] ./src/app/main-file/public/assets/js/plugins/tinymce/themes/mobile/theme.js [17:35:18.944] 4006:14 Error: React Hook "useH" is called in function "west" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.944] 4010:14 Error: React Hook "useH" is called in function "east" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.945] 6517:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.945] [17:35:18.945] ./src/app/main-file/public/assets/js/plugins/tinymce/themes/silver/theme.js [17:35:18.945] 7409:14 Error: React Hook "useH" is called in function "west$1" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.945] 7413:14 Error: React Hook "useH" is called in function "east$1" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.946] 11080:53 Error: React Hook "useFixedContainer" is called in function "isStickyToolbar" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.946] 13933:5 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.946] 21544:38 Error: React Hook "useFixedContainer" is called in function "getAnchors" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.946] 29920:11 Error: React Hook "useFixedContainer" is called in function "setup$3" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.947] [17:35:18.947] ./src/app/main-file/public/assets/js/plugins/uppy.min.js [17:35:18.947] 1:242244 Error: React Hook "Ce.useCached" is called in function "e" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks [17:35:18.947] [17:35:18.947] ./src/app/main-file/public/css/summernote/summernote-bs4.js [17:35:18.948] 6923:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.948] 6947:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.948] 6995:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.948] [17:35:18.948] ./src/app/main-file/public/css/summernote/summernote-lite.js [17:35:18.948] 7441:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.949] 7465:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.949] 7513:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.949] [17:35:18.949] ./src/app/main-file/public/css/summernote/summernote.js [17:35:18.949] 6921:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.949] 6945:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.949] 6993:9 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.950] [17:35:18.950] ./src/app/main-file/public/js/app.js [17:35:18.950] 13:12 Error: Do not assign to the variable module. See: https://nextjs.org/docs/messages/no-assign-module-variable @next/next/no-assign-module-variable [17:35:18.950] [17:35:18.950] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Components/Modal.jsx [17:35:18.950] 28:8 Warning: React Hook useEffect has a missing dependency: 'closeOnEscape'. Either include it or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.951] [17:35:18.951] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Components/TextInput.jsx [17:35:18.951] 7:31 Error: React Hook "useRef" is called conditionally. React Hooks must be called in the exact same order in every component render. react-hooks/rules-of-hooks [17:35:18.951] 13:8 Warning: React Hook useEffect has missing dependencies: 'input' and 'isFocused'. Either include them or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.951] [17:35:18.951] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Auth/ConfirmPassword.jsx [17:35:18.952] 18:8 Warning: React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.952] [17:35:18.952] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Auth/Login.jsx [17:35:18.952] 21:8 Warning: React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.952] [17:35:18.952] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Auth/Register.jsx [17:35:18.953] 21:8 Warning: React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.953] [17:35:18.953] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Auth/ResetPassword.jsx [17:35:18.953] 21:8 Warning: React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.953] [17:35:18.953] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Auth/VerifyEmail.jsx [17:35:18.954] 21:57 Error: ' can be escaped with &apos;, &lsquo;, &#39;, &rsquo;. react/no-unescaped-entities [17:35:18.954] [17:35:18.954] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Dashboard.jsx [17:35:18.954] 17:82 Error: ' can be escaped with &apos;, &lsquo;, &#39;, &rsquo;. react/no-unescaped-entities [17:35:18.954] [17:35:18.955] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.jsx [17:35:18.955] 28:40 Error: ' can be escaped with &apos;, &lsquo;, &#39;, &rsquo;. react/no-unescaped-entities [17:35:18.955] [17:35:18.955] ./src/app/main-file/vendor/laravel/breeze/stubs/inertia-react/resources/js/Pages/Welcome.jsx [17:35:18.961] 167:48 Error: ' can be escaped with &apos;, &lsquo;, &#39;, &rsquo;. react/no-unescaped-entities [17:35:18.962] [17:35:18.962] ./src/app/main-file/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/js/d3.min.js [17:35:18.962] 3:10667 Error: Component definition is missing display name react/display-name [17:35:18.962] [17:35:18.962] ./src/app/main-file/vendor/spatie/ignition/resources/compiled/ignition.js [17:35:18.962] 6:173146 Error: Component definition is missing display name react/display-name [17:35:18.962] [17:35:18.962] ./src/components/MobileNav.tsx [17:35:18.962] 17:6 Warning: React Hook useEffect has a missing dependency: 'isOpen'. Either include it or remove the dependency array. react-hooks/exhaustive-deps [17:35:18.962] [17:35:18.962] info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules [17:35:19.002] error Command failed with exit code 1. [17:35:19.002] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [17:35:19.025] Error: Command "yarn run build" exited with 1 [17:35:20.616]