Snowpack dev server console error: 404 - index.html #821
Replies: 2 comments 5 replies
-
your screenshot isn't loading, but I think what you're looking for is |
Beta Was this translation helpful? Give feedback.
-
It seems something wrong with your config.mount? |
Beta Was this translation helpful? Give feedback.
-
I am looking to use snowpack for development in an existing project.
Option 1 -> Use CSA and copy src and build
Issues - This is a very large production app and there is a lot of configs already build for this app which I am not fully aware. So there will be lot of things missing in CSA app and this approach will also take lot of efforts.
Option 2 -> Install Snowpack, specify config and troubleshoot issues
So I decided to use this approach and installed snowpack in the existing app. I checked if any config which I need to specify but couldn't figure this out. So I just started snowpack dev server but I am getting this below error.
I understand that the server is not able to locate index.html file because it's searching in the wrong location but I couldn't find how to specify the location of index.html to the snowpack.
I searched snowpack docs for this but could not find anything.
Can anyone help me with this?
Also, please point out if the error means something else or my approach seems wrong.
Beta Was this translation helpful? Give feedback.
All reactions