Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bower is not getting installed on Raspberry Pi3 #31

Open
sharmmoh1983 opened this issue May 21, 2018 · 5 comments
Open

bower is not getting installed on Raspberry Pi3 #31

sharmmoh1983 opened this issue May 21, 2018 · 5 comments

Comments

@sharmmoh1983
Copy link

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

@sabhiram
Copy link
Owner

This is somewhat unrelated to this project, but could it be that your version of Node is old?

@pablobolomey
Copy link

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

@sabhiram
Copy link
Owner

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!

@joeelia
Copy link

joeelia commented Aug 11, 2019

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

@leoheck
Copy link

leoheck commented Nov 11, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants