OneBite.Dev - Coding blog in a bite size

Astro error Expected ";" but found ":"

Here is how I solve error Expected ";" but found ":"

Here is how I solve error Expected ”;” but found ”:“.

This error is an ambiguous error coming from mdx package.

We need to upgrade our “mdx package” to latest one by running:

yarn add @astrojs/mdx
astro