is eslint-webpack-plugin installed?
https://www.npmjs.com/package/eslint-webpack-plugin
C:\My Files\Program\MMMMM\trrr\traccar-master\traccar-master\traccar-web>npm run build
> build
> sencha compile --classpath=web/app.js,web/app,node_modules/extjs-gpl/packages/core/src,node_modules/extjs-gpl/packages/core/overrides,node_modules/extjs-gpl/classic/classic/src,node_modules/extjs-gpl/classic/classic/overrides exclude -all and include -recursive -file web/app.js and exclude -namespace=Ext and concatenate -closure web/app.min.js
Sencha Cmd v7.7.0.36
[INF] Loading compiler context
[ERR] Failed to resolve dependency Ext.app.Application for file Traccar.Application
[ERR] Unknown definition for dependency : Ext.app.Application
Have you installed dependencies?
How can I install dependencies?
npm install
/home/mahdi/traccar/traccar-web-master/modern# npm run build
> traccar@5.8.0 build /home/mahdi/traccar/traccar-web-master/modern
> react-scripts build
/home/mahdi/traccar/traccar-web-master/modern/node_modules/react-scripts/node_modules/jest-worker/build/index.js:110
_ending;
^
SyntaxError: Unexpected token ;
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/mahdi/traccar/traccar-web-master/modern/node_modules/react-scripts/node_modules/eslint-webpack-plugin/dist/getESLint.js:9:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! traccar@5.8.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the traccar@5.8.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-08-07T06_04_31_408Z-debug.log
Hi
i want to build modern web app but after execute
npm run build
, this error show :please help me
thanks