This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Module not found: Can't resolve '***\app\favicon.ico?__next_metadata__' #70172
Labels
bug
Issue was opened via the bug report template.
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
Image (next/image)
Related to Next.js Image Optimization.
Metadata
Related to Next.js' Metadata API.
Link to the code that reproduces this issue
https://github.com/Sir-Erwin/project-xenia.git
To Reproduce
(after compiling it starts to throw the following error)
Current vs. Expected behavior
I expected to see the code successfully seeing that I had made no modifications from what I got from npx create-next-app@latest.
However, it threw an error saying " Module not found: Can't resolve '***\project-xenia\app\favicon.ico?next_metadata' "
Provide environment information
Which area(s) are affected? (Select all that apply)
create-next-app, Image (next/image), Metadata
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
I even tested it out with the previous 14.x.x versions, and even a 13.5.x version but it's throwing the same error.
I tried removing favicon.ico, but it just throws more errors. And sometimes it doesn't even start compiling, or freezes when compiling. I need to kill the processes eventually.
When I tried reproducing this in sandbox tho, there didn't seem to be a problem.
My guess, it has something to do with Windows, like its paths and stuff...
The text was updated successfully, but these errors were encountered: