This was caused by a issue with rollup, to fix this follow the steps. Add the following code into your package.json
{
# other properties
"overrides": {
"rollup": "4.15.0"
}
}
Then run npm install
and npm run build
then deploy
Copythight © All Rights Reserved.