deep-foundation / deep-foundation/deepcase-app

Module not found: Can't resolve '@deep-foundation/react-hasura/apollo-client-tokenized-provider'

Open
#326 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

![IMG_2791](https://github.com/deep-foundation/deepcase-app/assets/1431904/ebb10a86-0771-4b90-add8-13645c1c0637)

## Browser error message:

```
Build Error

Failed to compile

Next.js (14.2.3)
./src/provider.tsx:4:1
Module not found: Can't resolve '@deep-foundation/react-hasura/apollo-client-tokenized-provider'
2 | import { DeepProvider } from '@deep-foundation/deeplinks/imports/client';
3 | import { TokenProvider, useTokenController } from '@deep-foundation/deeplinks/imports/react-token';
> 4 | import { ApolloClientTokenizedProvider } from '@deep-foundation/react-hasura/apollo-client-tokenized-provider';
| ^
5 | import { CapacitorStoreProvider } from '@deep-foundation/store/capacitor';
6 | import { CookiesStoreProvider } from '@deep-foundation/store/cookies';
7 | import { LocalStoreProvider, useLocalStore } from '@deep-foundation/store/local';

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

Import trace for requested module:
./pages/index.tsx
This error occurred during the build process and can only be dismissed by fixing the error.
```

## Terminal error message:
```
[0] ⨯ ./src/provider.tsx:4:1
[0] Module not found: Can't resolve '@deep-foundation/react-hasura/apollo-client-tokenized-provider'
[0] 2 | import { DeepProvider } from '@deep-foundation/deeplinks/imports/client';
[0] 3 | import { TokenProvider, useTokenController } from '@deep-foundation/deeplinks/imports/react-token';
[0] > 4 | import { ApolloClientTokenizedProvider } from '@deep-foundation/react-hasura/apollo-client-tokenized-provider';
[0] | ^
[0] 5 | import { CapacitorStoreProvider } from '@deep-foundation/store/capacitor';
[0] 6 | import { CookiesStoreProvider } from '@deep-foundation/store/cookies';
[0] 7 | import { LocalStoreProvider, useLocalStore } from '@deep-foundation/store/local';
[0]
[0] https://nextjs.org/docs/messages/module-not-found
[0]
[0] Import trace for requested module:
[0] ./pages/index.tsx
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at src/provider.tsx and follow the import trace from pages/index.tsx to inspect why @deep-foundation/react-hasura/apollo-client-tokenized-provider cannot be resolved. Reproduce the Next.js build error, then verify that the provider import resolves and the application builds successfully without the reported module-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.