➜ TMC_ADMIN_NEW git:(feature/TCNESM-203-new-login) ✗ npm run build
material-tailwind-dashboard-react@2.0.1 build
vite build
vite v3.2.7 building for production...
✓ 1514 modules transformed.
'resolve' is not exported by __vite-browser-external, imported by node_modules/vite/dist/node/constants.js
file: /Users/user/TerraMotor/project/TMC_GIT/TMC_ADMIN_NEW/node_modules/vite/dist/node/constants.js:1:15
1: import path, { resolve } from 'node:path';
^
2: import { fileURLToPath } from 'node:url';
error during build:
Error: 'resolve' is not exported by __vite-browser-external, imported by node_modules/vite/dist/node/constants.js
at error (file:///Users/user/TerraMotor/project/TMC_GIT/TMC_ADMIN_NEW/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
➜ TMC_ADMIN_NEW git:(feature/TCNESM-203-new-login) ✗ npm run build
vite v3.2.7 building for production... ✓ 1514 modules transformed. 'resolve' is not exported by __vite-browser-external, imported by node_modules/vite/dist/node/constants.js file: /Users/user/TerraMotor/project/TMC_GIT/TMC_ADMIN_NEW/node_modules/vite/dist/node/constants.js:1:15 1: import path, { resolve } from 'node:path'; ^ 2: import { fileURLToPath } from 'node:url'; error during build: Error: 'resolve' is not exported by __vite-browser-external, imported by node_modules/vite/dist/node/constants.js at error (file:///Users/user/TerraMotor/project/TMC_GIT/TMC_ADMIN_NEW/node_modules/rollup/dist/es/shared/rollup.js:1858:30)