Just created my first Astro project! I am trying to use some cool components from MagicUI, like ShimmeringButton, but it keeps crashing 😦
22:17:31 [ERROR] [vite] Named export 'CSSProperties' not found. The requested module 'react' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'react';
const {CSSProperties} = pkg;
I followed the instructions on MagicUI in order to install it, maybe do I need to change some config?