#Getting error at npm run dev

1 messages · Page 1 of 1 (latest)

drifting pelican
#

@fierce olive Would honestly just ignore it. Probably those files should be in the public folder

drifting pelican
#

If they are missing for some reason, but you can add your own images and they work, then no biggy

#

They are just some default images

#

You could try adding a png/jpg/svg image to your public folder, and see if you can load it onto your site with an img / Image tag

#

Seems you have a favicon working, that's probably in that folder too

#

So it suggests that it is serving images OK

fierce olive
drifting pelican
#

This is the default view of a new Next app. So if you just installed and ran it, then this is correct

drifting pelican
fierce olive
#

but in my case when i npm run dev it goes like this

drifting pelican
#

Your page says get started by editing app/page.tsx

#

His image doesn't have that file. He just has files in (root)

#

So either he's using a different version of Next, or you didn't follow along correctly, I think

fierce olive
#

idk i have checked thrice + from his repository too

drifting pelican
#

maybe he has an error in the video?

#

You could probably take his code and put in in app/page.tsx instead of app/(root)/whatever

#

and I expect it will work

#

I haven't used next in a couple of years, but I don't really understand that (root) folder, I thought the home page was /app/page.tsx, which seems to be the one that your site is showing

fierce olive
#

there are two page.tsx one in the app folder and other in app/ root/page.tsx

drifting pelican
#

Yeah

#

Learn how to build and deploy a banking app with a finance management dashboard that connects multiple bank accounts, displays real-time transactions, and allows you to transfer money to other users on the platform using Next.js 14.

⭐ Appwrite: https://apwr.dev/JavaScriptMastery
🌟 Sentry: https://bit.ly/4abT6PG

🎨 Horizon Design Figma File: htt...

▶ Play video
#

LOL, I guess you need to pay more attention

fierce olive
drifting pelican
#

Just after that time location he deleted app/page.tsx

#

Learn how to build and deploy a banking app with a finance management dashboard that connects multiple bank accounts, displays real-time transactions, and allows you to transfer money to other users on the platform using Next.js 14.

⭐ Appwrite: https://apwr.dev/JavaScriptMastery
🌟 Sentry: https://bit.ly/4abT6PG

🎨 Horizon Design Figma File: htt...

▶ Play video
#

right here

#

t=1275s

fierce olive
drifting pelican
#

Well he deleted it : )

fierce olive
drifting pelican
#

So maybe the answer is in his video

fierce olive
#

so did i

fierce olive
drifting pelican
#

Maybe try a different video, and just learn the principles

#

once you have principles you can build whatever you like

fierce olive
#

shall i send u the repo till this point if u could see ur getting error or not

drifting pelican
#

No : )

#

If you're really stuck then try another video. He does say in that video he's trying to get you to buy his Next course, and watch that first

#

so maybe try a beginner Next tutorial instead