Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run build showing error #18

Open
shoaibahmedterramotor opened this issue Jun 14, 2023 · 0 comments
Open

npm run build showing error #18

shoaibahmedterramotor opened this issue Jun 14, 2023 · 0 comments

Comments

@shoaibahmedterramotor
Copy link

➜ TMC_ADMIN_NEW git:(feature/TCNESM-203-new-login) ✗ npm run build

[email protected] 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)

Screenshot 2023-06-14 at 21 08 56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant