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

deepmerge-ts dependancy declaration #449

Closed
JakeAngell opened this issue Feb 27, 2025 · 2 comments
Closed

deepmerge-ts dependancy declaration #449

JakeAngell opened this issue Feb 27, 2025 · 2 comments
Assignees

Comments

@JakeAngell
Copy link

Get this error on build in Astro v5.4.0, wasn't a problem in v4.11.3

astro-compress tried to access deepmerge-ts, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

@NikolaRHristov
Copy link
Member

@JakeAngell Which version are you running? Can you try the latest?

We specify deepmerge-ts in:

"deepmerge-ts": "7.1.5",

And it is listed as a dependency on:

https://www.npmjs.com/package/astro-compress?activeTab=dependencies

@JakeAngell
Copy link
Author

Ah yes apologies I assumed it was an @astrojs package and would be automatically updated with the upgrade. Manually updating to v2.3.6 fixed this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants