BUG: Incorrect URLs for npm packages, causing 404 in watch mode
Author: yandodovCreated Aug 1, 2021Updated Mar 7, 2026
Quick checklist
- I am using the latest version of Snowpack and all plugins.
What package manager are you using?
npm
What operating system are you using?
Windows
Describe the bug
Some URLs generated by Snowpack in --watch mode are 404s. Partly, the reason for that is non-relative URLs, addressed in #3597. However, the incorrect URLs point to files that do not exist altogether.
Steps to reproduce
git clone https://github.com/hdodov/repro-snowpack-url-issuecd repro-snowpack-url-issuenpm inpx snowpack build --watch- Output
buildfolder should contain incorrect paths.
Link to minimal reproducible example (optional)
Source: FredKSchott/snowpack