Module not found: Can't resolve './' in Next.js
Closed this issue · 3 comments
weekenchen commented
System Info
"@huggingface/transformers": "3.0.0-alpha.21"
chrome: 129
OS: mac os
node: v20
Environment/Platform
- Website/web-app
- Browser extension
- Server-side (e.g., Node.js, Deno, Bun)
- Desktop app (e.g., Electron)
- Other (e.g., VSCode extension)
Description
Reference example Startup Error
Reproduction
○ Compiling /face ...
⨯ ./node_modules/.pnpm/@huggingface+transformers@3.0.0-alpha.21/node_modules/@huggingface/transformers/dist/transformers.js:32680:1
Module not found: Can't resolve './'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./pages/face/index.tsx
GET /face 500 in 2539ms
GET /face 500 in 2527ms
geronimi73 commented
same here. how did you solve this?
psychiatrichwj commented
same here. how did you solve this?
Kain-90 commented
It solved my problem.