Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not found: Can't resolve './' in Next.js #980

Closed
1 of 5 tasks
weekenchen opened this issue Oct 17, 2024 · 4 comments
Closed
1 of 5 tasks

Module not found: Can't resolve './' in Next.js #980

weekenchen opened this issue Oct 17, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@weekenchen
Copy link

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[email protected]/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

@weekenchen weekenchen added the bug Something isn't working label Oct 17, 2024
@weekenchen weekenchen reopened this Oct 17, 2024
@geronimi73
Copy link

same here. how did you solve this?

1 similar comment
@psychiatrichwj
Copy link

same here. how did you solve this?

@Kain-90
Copy link

Kain-90 commented Nov 26, 2024

It solved my problem.

#1026 (comment)

@geronimi73
Copy link

Works! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants