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
Created the following repo from this template and updated the code for chat function to use ConversationalRetrievalQAChain:
https://github.com/inflaton/docs-chatbot-supabase
It works well locally but fails to deploy - see logs below.
yarn supabase:deploy yarn run v1.22.19 $ supabase secrets set --env-file ./supabase/.env && supabase functions deploy chat --import-map supabase/functions/import_map_deploy.json Finished supabase secrets set. Version 1.30.3 is already installed Bundling chat Error: Error bundling function: exit status 1 file:///src/import_map.json file:///src/index.ts file:///_shared/cors.ts file:///_shared/makechain.ts file:///_shared/vectorstore.ts error: Uncaught (in promise) Error: Relative import path "events" not prefixed with / or ./ or ../ and not in import map from "https://esm.sh/v118/@types/node@18.16.0/events.d.ts" const ret = new Error(getStringFromWasm0(arg0, arg1)); ^ at __wbg_new_8d2af00bc1e329ee (https://deno.land/x/eszip@v0.30.0/eszip_wasm.generated.js:312:19) at (https://deno.land/x/eszip@v0.30.0/eszip_wasm_bg.wasm:1:79439) at (https://deno.land/x/eszip@v0.30.0/eszip_wasm_bg.wasm:1:1388039) at (https://deno.land/x/eszip@v0.30.0/eszip_wasm_bg.wasm:1:1862894) at __wbg_adapter_18 (https://deno.land/x/eszip@v0.30.0/eszip_wasm.generated.js:146:6) at real (https://deno.land/x/eszip@v0.30.0/eszip_wasm.generated.js:130:14)
Try rerunning the command with --debug to troubleshoot the error. error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Created the following repo from this template and updated the code for chat function to use ConversationalRetrievalQAChain:
https://github.com/inflaton/docs-chatbot-supabase
It works well locally but fails to deploy - see logs below.
yarn supabase:deploy
yarn run v1.22.19
$ supabase secrets set --env-file ./supabase/.env && supabase functions deploy chat --import-map supabase/functions/import_map_deploy.json
Finished supabase secrets set.
Version 1.30.3 is already installed
Bundling chat
Error: Error bundling function: exit status 1
file:///src/import_map.json
file:///src/index.ts
file:///_shared/cors.ts
file:///_shared/makechain.ts
file:///_shared/vectorstore.ts
error: Uncaught (in promise) Error: Relative import path "events" not prefixed with / or ./ or ../ and not in import map from "https://esm.sh/v118/@types/node@18.16.0/events.d.ts"
const ret = new Error(getStringFromWasm0(arg0, arg1));
^
at __wbg_new_8d2af00bc1e329ee (https://deno.land/x/eszip@v0.30.0/eszip_wasm.generated.js:312:19)
at (https://deno.land/x/eszip@v0.30.0/eszip_wasm_bg.wasm:1:79439)
at (https://deno.land/x/eszip@v0.30.0/eszip_wasm_bg.wasm:1:1388039)
at (https://deno.land/x/eszip@v0.30.0/eszip_wasm_bg.wasm:1:1862894)
at __wbg_adapter_18 (https://deno.land/x/eszip@v0.30.0/eszip_wasm.generated.js:146:6)
at real (https://deno.land/x/eszip@v0.30.0/eszip_wasm.generated.js:130:14)
Try rerunning the command with --debug to troubleshoot the error.
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: