Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000 it was perfectly fine on dev mode
npm run dev
npm run build
Locally preview production build:
npm run preview
you can try with stackblitz : Stackblitz Repro