create-web3-dapp icon indicating copy to clipboard operation
create-web3-dapp copied to clipboard

initial `npm run dev` error in loading `./Navbar.module.css`

Open neerajnerlekar opened this issue 2 years ago • 0 comments

Describe the bug After running npx create-web3-dapp@latest I am getting this error when I cd <my-project> && npm run dev for the first time

Screenshot from 2023-07-18 23-44-41

I inspected the file and the name of the module imported is wrong.

Screenshot from 2023-07-18 23-45-54

Reproducing the bug I followed the Create Web3 Dapp Quickstart guide and at step 5 Do you want to create a smart contract?, I selected No and continued with the steps.

Solution Renaming the file from navbar.module.css to Navbar.module.css runs the site properly

neerajnerlekar avatar Jul 19 '23 06:07 neerajnerlekar