Open gazhay opened 1 year ago
Hi there @gazhay ! Easiest way to get it running on Linux (without having to install a bunch of dependencies) is using docker: https://github.com/tidepool-org/uploader#docker-for-linux
If you don't want to use Docker, the first thing to do is to make sure you're using Node v16, preferably v16.14.2 (or just type nvm use
if you have nvm installed). Remember to do a rm -rf node_modules && rm -rf app/node_modules
when you change Node versions. Then install yarn using npm install -g yarn
and run yarn
instead of npm install
, before running yarn dev
to run Uploader.
You may also need to do sudo apt-get install libsecret-1-dev ffmpeg libudev-dev libusb-1.0-0-dev
to get all the native modules built, assuming you already have the necessary compilers installed (sudo apt-get install build-essential
).
Let me know if you run into any other issues.
Had a look at the other linux install issues here and none seemed to match the error I am having.
Ubuntu 22.04 LTS Git cloned repoistiory
```npm install````
fails with
Forcing react@18 to install just creates further dependency problems