I'm trying to build my vite react project for deploy but I'm getting an error :
vite v3.2.5 building for production...
transforming (213) node_modules\bignumber.js\bignumber.mjsError when using sourcemap for reporting an error: Can't resolve original location of error.
✓ 228 modules transformed.
[commonjs--resolver] Unexpected token
file: D:/Github devsalman247/Metadots/Speak'r/speakr/client/node_modules/axios/lib/utils.js:1:73
1: import { default as global } from 'D:/Github devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup-plugin-node-polyfills/polyfills/global.js';
^
2:
3: 'use strict';
error during build:
Error: Unexpected token
at error (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:12429:16)
at Module.tryParse (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:12806:25)
at Module.setSource (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:12711:24)
at ModuleLoader.addModuleSource (file:///D:/Github%20devsalman247/Metadots/Speak'r/speakr/client/node_modules/rollup/dist/es/shared/rollup.js:21959:20)
This is not specific to path and it changes if i try to create build again
I'm trying to build my vite react project for deploy but I'm getting an error :
This is not specific to path and it changes if i try to create build again