Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Module not found: Can't resolve '@privy-io/cross-app-connect/rainbow-kit' #11

Description

@moulin-louis

When creating a project with the following command:

npx @abstract-foundation/create-abstract-app@latest my-app -p yarn

and then running:

yarn install && yarn dev

It will produce the following ouput:

$ yarn install
$ yarn dev
  ▲ Next.js 14.2.13
  - Local:        http://localhost:3000

 ✓ Starting...
 ✓ Ready in 1124ms
 ○ Compiling / ...
 ⨯ ./node_modules/@abstract-foundation/agw-react/dist/esm/abstractWalletConnector.js:2:1
Module not found: Can't resolve '@privy-io/cross-app-connect/rainbow-kit'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/@abstract-foundation/agw-react/dist/esm/agwProvider.js
./node_modules/@abstract-foundation/agw-react/dist/esm/exports/index.js
./src/components/NextAbstractWalletProvider.tsx
 ⨯ ./node_modules/@abstract-foundation/agw-react/dist/esm/abstractWalletConnector.js:2:1
Module not found: Can't resolve '@privy-io/cross-app-connect/rainbow-kit'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/@abstract-foundation/agw-react/dist/esm/agwProvider.js
./node_modules/@abstract-foundation/agw-react/dist/esm/exports/index.js
./src/app/page.tsx
 ⨯ ./node_modules/@abstract-foundation/agw-react/dist/esm/abstractWalletConnector.js:2:1
Module not found: Can't resolve '@privy-io/cross-app-connect/rainbow-kit'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/@abstract-foundation/agw-react/dist/esm/agwProvider.js
./node_modules/@abstract-foundation/agw-react/dist/esm/exports/index.js
./src/app/page.tsx
 GET / 500 in 4793ms
 ⨯ ./node_modules/@abstract-foundation/agw-react/dist/esm/abstractWalletConnector.js:2:1
Module not found: Can't resolve '@privy-io/cross-app-connect/rainbow-kit'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/@abstract-foundation/agw-react/dist/esm/agwProvider.js
./node_modules/@abstract-foundation/agw-react/dist/esm/exports/index.js
./src/components/NextAbstractWalletProvider.tsx

I've tested with npm without success.
Some system info:
Node.js version: v22.11.0
OS: NixOs - 25.05 - linux 6.6.67
CPU architecture: x64
CPU cores: 12
Total memory: 16 GB
Free memory: 10 GB

Thanks a lot for your time !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions