I'm building a website in NextJS and it was working well until today when it started saying that it's unable to resolve multiple elements: Some things that I tried that didnt work:
npm install
in the /app
directory as suggested under another post.next
directory and run npm run build
Here's what my folder structure looks like and the import alias:
[2
Solution for my problem was to duplicate the project and select 'no' on the use /src
directory prompt while initialising the project. Couldn't find anything else anywhere