I run the command npm install
and when I run the second one : npm start
I get this error :
sh: hugo: command not found
ERROR: "start:dev:hugo" exited with 127.
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)