Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG: Sitemap 0.20 introduces ERR_MODULE_NOT_FOUND #3660

Closed
1 task
tusamni opened this issue Jun 21, 2022 · 1 comment · Fixed by #3661
Closed
1 task

🐛 BUG: Sitemap 0.20 introduces ERR_MODULE_NOT_FOUND #3660

tusamni opened this issue Jun 21, 2022 · 1 comment · Fixed by #3661
Assignees
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)

Comments

@tusamni
Copy link

tusamni commented Jun 21, 2022

What version of astro are you using?

1.0.0-beta.48

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

NPM

What operating system are you using?

Windows 11

Describe the Bug

When running npm run build with the sitemap package it'll throw the following error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\erik\Downloads\sites\astro-blog-portfolio\node_modules\@astrojs\sitemap\dist\generate-sitemap' imported from C:\Users\erik\Downloads\sites\astro-blog-portfolio\node_modules\@astrojs\sitemap\dist\index.js

This happens on a manual install as well as the Astro Add CLI command.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-de1e1j?file=package.json

Participation

  • I am willing to submit a pull request for this issue.
@felixsanz
Copy link
Contributor

Note: This seems to be working fine with sitemap 0.1.2 and Astro b.44 (the previous version)

@matthewp matthewp self-assigned this Jun 21, 2022
@bholmesdev bholmesdev added - P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) s1-small labels Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants