Cannot use Vite to create React app

I have been using Vite to create React apps for several months, everything is fine. But starting from a few days ago, I keep getting this error whenever I try to start the server with “npm run dev”:

“Cannot find module @rollup/rollup-android-arm64”

I checked the node_modules directory, the rollup module is there.

I also tried deleting the package.lock file and node_modules dir, and reinstall, but I still get the same error.

including the rollup module as “optional dependency” didn’t work either.

finally, I switched to Yarn, since the error message says it is probably a npm bug. But it also failed.

I have run out of ideas. Can anyone help?

I am runing Termux on Android. I guess that’s why I need this rollup-android thing.

BTW, all old projects I created before are OK. I just can’t create new projects.