woodjme / unifi-hotspot

A Node.js based external portal server for authorising Wi-Fi guests on Unifi products
Apache License 2.0
71 stars 28 forks source link

npm error command sh -c husky on "sudo npm install --omit=dev" #74

Closed kouok415 closed 1 month ago

kouok415 commented 1 month ago

sudo npm install --omit=dev

unifi-hotspot@3.0.3 prepare husky

sh: 1: husky: not found npm error code 127 npm error path /var/www/html/unifi-hotspot npm error command failed npm error command sh -c husky

can't figure it out , please help

woodjme commented 1 month ago

Go with sudo npm install --omit=dev --ignore-scripts

I'll update the docs accordingly

kouok415 commented 1 month ago

Go with sudo npm install --omit=dev --ignore-scripts

I'll update the docs accordingly

It works, thank you!

woodjme commented 1 month ago

35fcf6b21f36e3c196b0e9aafd581cb18a8273bd