Skip to content

(docs) Next.js example in CodeSandbox doesn't workΒ #6946

@rw-dominikagoral

Description

@rw-dominikagoral

πŸ› Current behavior

Hi, the CodeSandbox example linked in the README for the Next.js integration doesn't seem to work. Am I missing something?

It throws an error:

 β¨― ./pages/index.tsx:1:1
Module not found: Can't resolve '@algolia/client-common'
> 1 | import { createMemoryCache } from '@algolia/client-common';

πŸ” Steps to reproduce

  1. Go to the CodeSandbox example linked in the README
  2. See the error

Live reproduction

https://codesandbox.io/p/sandbox/github/algolia/instantsearch/tree/master/examples/react/next

πŸ’­ Expected behavior

I open the CodeSandbox and see the example.

Package version

?

Operating system

No response

Browser

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssues to be categorized by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions