Npm run build(vite build production)

while trying to build my framework7 project it throws an error complaining that request errror is not exported by node_modules/framework7/shared/request.js and it is imported by node_modules/framework7/framework7-types.d.ts
framework7: 7.0.5
vite: 2.9.13
Attached is an image of the error log

Hope this help you