mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Currently, there is a difficult-to-reproduce bug where the backend reports that camera calibration was successful in logs via the logger but then throws an exception causing the backend to return a 500 error code with no request body which causes the frontend to interpret this as a failed calibration attempt. This ultimately leads to the entire instance of photonvision crashing and requiring the entire pi to be restarted. It is believed this issue resides inside the ConfigManager's saving action following the calibration update but is not confirmed.
38 lines
647 B
Markdown
38 lines
647 B
Markdown
# PhotonVision Client UI
|
|
|
|
## Install Node.js
|
|
|
|
Follow [this](https://nodejs.org/en/) link.
|
|
|
|
## Project setup
|
|
Run this one time, this command downloads the packages the UI uses, and it might take a short while
|
|
|
|
```
|
|
npm install
|
|
```
|
|
|
|
### Compiles and hot-reloads for development
|
|
Run this every development session, this command auto-builds the UI after every change you make
|
|
|
|
```
|
|
npm run serve
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
```
|
|
npm run build
|
|
```
|
|
|
|
### Run your tests
|
|
```
|
|
npm run test
|
|
```
|
|
|
|
### Lints and fixes files
|
|
```
|
|
npm run lint
|
|
```
|
|
|
|
### Customize configuration
|
|
See Node.js' [Configuration Reference](https://cli.vuejs.org/config/).
|