#Library astro-breadcrumbs not found after updating to astro v4

1 messages · Page 1 of 1 (latest)

honest pawn
#

Like I said, I was using astro-breadcrumbs in the v3 and after updating to v4 the import to astr-breadcrumbs says me that there is an error and the library is not found

hushed houndBOT
#

Hi @honest pawn. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not mention the astro-breadcrumbs library specifically. However, it's worth noting that Astro v4.0 includes potentially breaking changes and the removal of some previously deprecated features. If you're having trouble after upgrading, it could be due to these changes.

You can try to update your project’s version of Astro and all official integrations to the latest versions using your package manager. Here are the commands for npm, pnpm, and Yarn:

For npm:

# Upgrade Astro and official integrations together
npx @astrojs/upgrade

For pnpm:

# Upgrade Astro and official integrations together
pnpm dlx @astrojs/upgrade

For Yarn:

# Upgrade Astro and official integrations together
yarn dlx @astrojs/upgrade

You can also upgrade your Astro integrations manually (https://docs.astro.build/en/guides/integrations-guide/#manual-upgrading) if needed, and you may also need to upgrade other dependencies in your project.

If your project doesn’t work as expected after upgrading to v4.0, check the upgrade guide (https://docs.astro.build/en/guides/upgrade-to/v4) for an overview of all breaking changes and instructions on how to update your codebase.

If the issue persists, please check Astro’s issues on GitHub (https://github.com/withastro/astro/issues/) for any reported issues, or to file an issue yourself.

Sources:


Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: