typesense / showcase-nextjs-typesense-ecommerce-store

An app showing how you can use Typesense & Next.js / React to build a full-fledged ecommerce browsing and searching experience
http://showcase-nextjs-typesense-ecommerce-store.vercel.app/
Apache License 2.0
55 stars 16 forks source link

NextJS v12 #3

Closed bradrisse closed 2 years ago

bradrisse commented 2 years ago

Description

I attempted to upgrade NextJS to version 12, but encountered an error after building TypeError: Cannot read properties of undefined (reading 'store')

Steps to reproduce

  1. Upgrade to version 12 of NextJS
  2. Build Application
  3. Start Application

Expected Behavior

Ability to interacted with page

Actual Behavior

501 Error TypeError: Cannot read properties of undefined (reading 'store')

Metadata

Typsense Version: typesense/typesense:0.22.0.rcu6

OS: Docker

bradrisse commented 2 years ago

This looks like an issue with react-instantsearch as per this issue https://github.com/algolia/react-instantsearch/issues/3544