Npm run build failing because of @uppy/provider-views

Hi, I use uppy in my project and since yesterday I am not being able to run “npm run build” on my app. I am getting the following error

Collecting page data …TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module “(...)/node_modules/@uppy/provider-views/package.json” needs an import attribute of “type: json”
at validateAttributes (node:internal/modules/esm/assert:88:15)
at defaultLoad (node:internal/modules/esm/load:130:3)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:483:32) {
code: ‘ERR_IMPORT_ATTRIBUTE_MISSING’
}

Any idea on how I can fix this?

Fix here Fix remaining package.json imports by Murderlon · Pull Request #5862 · transloadit/uppy · GitHub