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

vite v5.4.10 building for production... throws commonjs--resolver error #3278

Open
tomlebl opened this issue Oct 25, 2024 · 2 comments · May be fixed by #3218
Open

vite v5.4.10 building for production... throws commonjs--resolver error #3278

tomlebl opened this issue Oct 25, 2024 · 2 comments · May be fixed by #3218

Comments

@tomlebl
Copy link

tomlebl commented Oct 25, 2024

When I am building my React frontend that is using [email protected] I am getting following error
[commonjs--resolver] Missing "./lib-react-cjs/lib-react-tsx/nmr/Peaks" specifier in "cheminfo-font" package

[email protected] is listed as [email protected] dependency.

The error disappears if I override dependencies with [email protected]

@targos
Copy link
Member

targos commented Oct 26, 2024

This is already fixed in the main branch but we are unfortunately not ready to make a release. Overriding the dependency is probably the only thing to do in the mean time.

@tomlebl
Copy link
Author

tomlebl commented Oct 28, 2024

Thanks. No rush. Overriding seems to work OK for just now.

@targos targos linked a pull request Oct 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants