#Error by running "npm run dev"

12 messages · Page 1 of 1 (latest)

stiff aspen
#

Hello dear Astro community,

This is my first post at all on Discord. I hope that you can help my in finding the next step or solution to this problem, occuring when I try to run "npm run dev", in order to get started (as recommended in "Getting Started" and "Installation" on the Astro Website):

"Error: The following dependencies are imported but could not be resolved: "
(See the attachment for a screenshot, made inside of my VS Code Terminal)

I'm looking forward to your get through my starting problems via your help!

Lukas

sharp oriole
#

You seem to have downloaded a template that has a lot of dependencies

#

Are those dependencies installed?

stiff aspen
#

Hi Erika!
Thank you for reaching out!

I guess that I haven't yet.
How can I check if I installed these correctly? And how can I install them?

sharp oriole
#

npm install would install them

stiff aspen
#

It seems that not all packages have been installed, according to the feedback (inside the screenshot)....

sharp oriole
#

It says that all dependencies have been installed

#

Oh, I think I see your issue

#

You have an Astro project inside your src

#

The template you downloaded is an Astro project, so it shouldn't be in your src folder, it should be your entire project

stiff aspen
#

Ok. I think, the Astro Boilerplate template inside the src folder is what causes my issue.
So, should I start once over again, or clear up/delete the appropriate folder of this template (locally)?