Setting up Typesense with Firestore Local Emulator
TLDR Isaac was struggling to run local emulator commands for Typesense with Firestore, Jason advised cloning the Github repository, running npm install and using Firebase-cli 10.x.
1
Nov 09, 2022 (13 months ago)
Isaac
01:38 PMNow, I would like to get the local emulator working as described in the "Development Workflow" section at the end of the README.md. There it says to run "npm run emulator" and "npm run typesenseServer". But, I don't see in the README.md where, or how, I was supposed to install those scripts and when I attempt to run them I get a "Missing script" error. Can someone point me in the right direction?
Jason
02:32 PMJason
02:33 PMIsaac
02:34 PM1
Typesense
Indexed 3011 threads (79% resolved)
Similar Threads
Setup and Issues in Connecting Typesense Instance with Firebase Emulator
Michael.M seeks help on connecting a local Typesense instance to the Firebase local emulator. Jason suggests looking at emulator commands and creating a specific file. After various attempts and troubleshooting steps, Michael.M is able to establish the connection.
Using Typesense with Firestore Local Emulator
Andrew asked if typesense can work with the local firestore emulator. Jason confirmed and recommended a specific github branch for optimal usage.
Issues with Firebase Typesense Extension in Local Emulator
vajahath encountered issues with the Firebase Typesense Extension concerning host:port configuration and function timeout. Kishore Nallan clarified they should be separate, and Jason provided a guide to use the emulator with the extension.