Looks like you don't have node on your path, as the error message indicates.
Now getting below error.
While resolving: traccar@0.1.0
Found: react@17.0.2
node_modules/react
react@"^17.0.2" from the root project
Could not resolve dependency:
peer react@"^0.14.0 || ^15.0.0 || 16.x" from react-container-dimensions@1.4.1
node_modules/react-container-dimensions
react-container-dimensions@"^1.4.1" from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "react",
"version": "17.0.2",
"whileInstalling": {
"name": "traccar",
"version": "0.1.0",
"path": "C:\\traccar\\traccar-web\\modern"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "^17.0.2",
"from": {
"location": "C:\\traccar\\traccar-web\\modern"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "^17.0.2",
"from": {
"location": "C:\\traccar\\traccar-web\\modern"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "^0.14.0 || ^15.0.0 || 16.x",
"error": "INVALID",
"from": {
"name": "react-container-dimensions",
"version": "1.4.1",
"whileInstalling": {
"name": "traccar",
"version": "0.1.0",
"path": "C:\\traccar\\traccar-web\\modern"
},
"location": "node_modules/react-container-dimensions",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-container-dimensions",
"spec": "^1.4.1",
"from": {
"location": "C:\\traccar\\traccar-web\\modern"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}
I think there is some issue in node version, I am using latest node and getting error which is mentioned in previouse post, downgraded node to version 12 and now getting below error.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file bash
npm ERR! errno ENOENT
npm ERR! core-js@2.6.12 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR!
npm ERR! Failed at the core-js@2.6.12 postinstall script.
Can you confirm which version should I use.
I am running traccar web from source code but moder interface not working, nor it is showing link in for modern interface or not loading even going directly to url. Getting 404 Not Found on modern interface.
Please confirm what are the requirements to run modern interface.
Also when I run npm install in modern web directory getting below error