Please make sure you have a recent version of node and npm (bundled with node) installed.
To build the ui, perform the following steps:
npm install
npm run build
To test your local version of the UI execute the following commands:
npm install
npm start
(be aware that this requires a StreamPipes instance that runs without the UI, read more here)
Running npm install
will cause a pre-commit hook to be created. This hook ensures that if you want to commit changes to this repository, these changes are compliant with our formatting and linting rules.
If you see errors there, you can try to run npm run format:fix
and npm run lint:fix
to fix these issues automatically. Otherwise, you have to run npm run format
and npm run lint
to get additional information about the problems.