add npm to packages and install nuxt3 modules

This commit is contained in:
Alex 2024-12-13 09:54:03 -04:00
parent 784556b1fa
commit 6c7c544431

View File

@ -7,7 +7,7 @@ DRY_RUN=false
# Define dependencies
DEPENDENCIES := nano htop nload sshpass python3-pip git ninja-build pkg-config gcc g++ systemd dkms python3-all python3-all-dev libpcap-dev libsodium-dev libevent-dev python3-pip python3-pyroute2 python3-msgpack \
python3-future python3-twisted python3-serial python3-jinja2 iw virtualenv debhelper dh-python fakeroot build-essential python3-autobahn python3-websockets nodejs gstreamer1.0-tools gstreamer1.0-plugins-base \
python3-future python3-twisted python3-serial python3-jinja2 iw virtualenv debhelper dh-python fakeroot build-essential python3-autobahn python3-websockets nodejs npm gstreamer1.0-tools gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-rtsp libgstrtspserver-1.0-0 python3-gi
# Define installation targets and options
@ -180,6 +180,7 @@ setup-webapp-service:
else \
git clone https://git.spirirobotics.com/aepko/Spiri-Base.git /home/spiri/Spiri-Base || (echo "Error cloning repository. Check network and repository access." && exit 1); \
cd ~/Spiri-Base && git sparse-checkout init --cone && git sparse-checkout set .output; \
$(SUDO) npm install; \
fi;
@if [ -f $(CURDIR)/webapp.service ]; then \
$(SUDO) cp $(CURDIR)/webapp.service /etc/systemd/system/webapp.service; \