Sudden Vite/babel error without changing any code

Problem description: vite stopped working on my react app so app never loads.

“ vite
failed to load config from /home/runner/hallofname/vite.config.js
error when starting dev server:
TypeError: _debug(…) is not a function
at Object. (/home/runner/hallofname/node_modules/@babel/core/lib/config/files/configuration.js:85:23)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/runner/hallofname/node_modules/@babel/core/lib/config/files/index.js:64:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
exit status 1”

before its always worked just fine. the only change i made was pushing it to github which isn’t a change

did something change with Vite? any help appreciated

Hi @phlerm thanks for your post and welcome to the community.

Can you give further information so that members of the community can offer some ideas?

For example can we have a link to your Repl?

Also a description / screenshot of what you expect to appear.

Thanks