raspberry-wifi-conf
raspberry-wifi-conf copied to clipboard
bower is not getting installed on Raspberry Pi3
I am trying to do bower install but I am getting bower command not found error
Even though I have tried sudo npm install bower -g.
But still same issue persisit
This is somewhat unrelated to this project, but could it be that your version of Node is old?
the issue may be here, (node:1901) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. npm WARN deprecated [email protected]: We don't recommend using Bower for new projects. Please consider Yarn an d Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-m igrate-away-from-bower/ /usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower [email protected] /usr/local/lib/node_modules/bower
It has been so long since I messed w/ JSish package managers. If anyone has ideas or proposals on how to update this to follow best practices is welcome!
If I can get this thing to run I'm going to try porting/forking it to a Vue CLI App and use Yarn as package manager and Webpack instead of bower. Maybe having the ability to change Wifi settings over MQTT via api calls too
Hi, maybe you just solved your issue, but the process I am doing to install everything from scratch is:
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt install nodejs
sudo apt install dnsmasq
sudo apt install hostapd
sudo npm update
sudo npm install onoff
sudo npm install bower -g
sudo bower install --allow-root
sudo npm run-script provision
I have this on my makefile. It installs everything needed.