How to solve Internal Server Error in Next.Js?

Total
1
Shares

I just created a next app using npx create-next-app. Then I installed sass by yarn add sass. I didn’t do anything else, just type yarn dev…then boom. A ton of error showing in my terminal and in the browser(localhost) it says

Internal Server Error

My terminal now looks like this

PS D:Web developmentBooksbia WebsiteBooksbia-nextbooksbia> npm run dev

> [email protected] dev D:Web developmentBooksbia WebsiteBooksbia-nextbooksbia
> next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn  - D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/@babel/runtime/helpers/interopRequireDefault.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]belruntimehelpersinteropRequireDefault.js
    Used by 4 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 
* D:Web developmentBooksbia [email protected]ropRequireDefault.js
    Used by 10 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientnext-dev.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/@babel/runtime/helpers/interopRequireWildcard.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]ropRequireWildcard.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 
* D:Web developmentBooksbia [email protected]ropRequireWildcard.js
    Used by 6 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientnext-dev.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/@babel/runtime/helpers/typeof.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]of.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]ibleConstructorReturn.js
* D:Web developmentBooksbia [email protected]of.js
    Used by 1 module(s), i. e.
    D:Web developmentBooksbia [email protected]ropRequireWildcard.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/client/normalize-trailing-slash.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientnormalize-trailing-slash.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientnormalize-trailing-slash.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/client/request-idle-callback.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrequest-idle-callback.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientroute-loader.js
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrequest-idle-callback.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientroute-loader.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/client/route-loader.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientroute-loader.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientroute-loader.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/client/router.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js   
    Used by 3 module(s), i. e.
    multi next-client-pages-loader?page=%2F_app&absolutePagePath=private-next-pages%2F_app.js! D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js   
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/client/with-router.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientwith-router.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientwith-router.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/head-manager-context.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibhead-manager-context.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibhead.js
* D:Web DevelopmentBooksBia WebsiteBook[email protected]!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibhead-manager-context.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/i18n/normalize-locale-path.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibi18nnormalize-locale-path.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibi18nnormalize-locale-path.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/mitt.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibmitt.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibmitt.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/router-context.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouter-context.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouter-context.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/router/router.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
    Used by 4 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/router/utils/format-url.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterutilsformat-url.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibutils.js


D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/next/dist/next-server/lib/utils.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/react-is/cjs/react-is.development.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesreact-iscjsreact-is.development.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesreact-isindex.js
* D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesreact-iscjsreact-is.development.js
    Used by 1 module(s), i. e.
    D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesreact-isindex.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/react-is/index.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesreact-isindex.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistnext-serverlibrouterrouter.js
* D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesreact-isindex.js
    Used by 2 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/react/cjs/react.development.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesreactcjsreact.development.js
    Used by 1 module(s), i. e.
    D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesreactindex.js
* D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesreactcjsreact.development.js
    Used by 1 module(s), i. e.
    D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesreactindex.js

D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/react/index.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesreactindex.js
    Used by 9 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientrouter.js 
* D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesreactindex.js
    Used by 26 module(s), i. e.
    D:Web DevelopmentBooksBia [email protected]loader.js!D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbianode_modulesnextdistbuildwebpackloadersnext-babel-loader.js??ref--4-1!D:Web developmentBooksbia WebsiteBooksbia-nextbooksbianode_modulesnextdistclientindex.js  
info  - ready on http://localhost:3000

note: I tried uninstalling sass yarn remove sass, But the same problem remains.

Thank you.


Solution

The error isn’t related to Next.js itself, it looks like there’s a mismatch with the path you’re using in the terminal and the actual path within the file system.

In your terminal:

D:Web developmentBooksbia WebsiteBooksbia-nextbooksbia
       ^

Actual path:

D:Web DevelopmentBooksBia WebsiteBooksbia-nextbooksbia
       ^

Make sure your path in the terminal matches the casing in the actual path.

Leave a Reply

Your email address will not be published. Required fields are marked *