Skip to content

Module not found: Can't resolve '@deep-foundation/deeplinks/imports/client' #329

@konard

Description

@konard

IMG_2885

Browser:

1 of 1 error
Next.js (14.2.3) out of date [(learn more)](https://nextjs.org/docs/messages/version-staleness)
Server Error

Error: Module not found: Can't resolve '@deep-foundation/deeplinks/imports/client'
  1 |
> 2 | import { DeepNamespaceProvider, DeepProvider, useDeep } from '@deep-foundation/deeplinks/imports/client';
    | ^
  3 | import { Id, Link, MinilinksProvider, useMinilinksFilter } from '@deep-foundation/deeplinks/imports/minilinks';
  4 | import dynamic from "next/dynamic";
  5 | import React, { useCallback, useEffect, useRef, useState } from 'react';

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

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
<unknown>

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

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

file:///workspace/dev/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js (124:16)
async getModuleBuildError

file:///workspace/dev/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.js (104:27)
async

file:///workspace/dev/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/index.js (29:49)
async

file:///workspace/dev/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/index.js (27:21)

Server:

[0]  ⨯ ./pages/index.tsx:2:1
[0] Module not found: Can't resolve '@deep-foundation/deeplinks/imports/client'
[0]   1 |
[0] > 2 | import { DeepNamespaceProvider, DeepProvider, useDeep } from '@deep-foundation/deeplinks/imports/client';
[0]     | ^
[0]   3 | import { Id, Link, MinilinksProvider, useMinilinksFilter } from '@deep-foundation/deeplinks/imports/minilinks';
[0]   4 | import dynamic from "next/dynamic";
[0]   5 | import React, { useCallback, useEffect, useRef, useState } from 'react';
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0]  ⚠ ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] 
[0] ../deeplinks/imports/client.js
[0] Critical dependency: the request of a dependency is an expression
[0] 
[0] Import trace for requested module:
[0] ../deeplinks/imports/client.js
[0] ./pages/index.tsx
[0]  GET / 500 in 39744ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions