[snowpack] [404] Not Found (/src/index.tsx) #3474
Unanswered
CM-IV
asked this question in
Troubleshooting
Replies: 1 comment
-
I'm answering my own question from my phone.. I looked online and found a Preact - Typescript - Sass template that used '/dist' with underscores as the mount src URL. Also, for the alias inside the snowpack config, I didn't have 'react-dom': 'preact/compat' in single quotes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I have been receiving 404 errors where Snowpack cannot seem to find the index.tsx and mystyles.scss files that I link to within my public/index.html file.
Here is a picture of the docker-compose console:
Here is my file structure for the project:
The snowpack.config file as well:
Give me a heads up if anyone can lend a hand or needs more info.
Beta Was this translation helpful? Give feedback.
All reactions