Open Konard opened 7 months ago
Error message from browser:
Server Error Error: Module not found: Can't resolve '@deep-foundation/deeplinks/imports/client' 1 | > 2 | import { DeepProvider, useDeep } from '@deep-foundation/deeplinks/imports/client'; 3 | import { Link, 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 getNotFoundError file:///workspace/dev/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js (120:16) process.processTicksAndRejections node:internal/process/task_queues (95:5) async getModuleBuildError file:///workspace/dev/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.js (102: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)
Error message from terminal:
0] ⨯ ./pages/index.tsx:2:0 [0] Module not found: Can't resolve '@deep-foundation/deeplinks/imports/client' [0] 1 | [0] > 2 | import { DeepProvider, useDeep } from '@deep-foundation/deeplinks/imports/client'; [0] 3 | import { Link, 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
gitpod /workspace/dev (main) $ npm i
It may also be required to restart Deep.Case App
Fixed at https://github.com/deep-foundation/dev/commit/796a7245e60706e68f43932a52787c1a4bfe1511
It still reproducible sometimes (no stable reproduction).
Restart Deep.Case App
Error message from browser:
Error message from terminal: