Closed netniV closed 5 years ago
The thing is, Yarn, Webpack and Parcel are for building single-page javascript apps. I just use bower as a convenient way to get the latest jquery and a few other things. As things move forward, the need for it will probably go away - either it's a Cacti-specific thing, and it can use Cacti's jquery, or it'll be part of the new React stuff, which basically is a single-page app.
Looking at this now, it's actually only the editor that needs these modules.
An update to the .bowerrc
is needed now due to the depreciation.
User smilies posted:
I did, but it was throwing an error. I assumed because of the deprecation.
After researching more, I found this:
"Bower is deprecating their registry hosted with Heroku. http://bower.herokuapp.com/ Will not be accessible anymore or it might be down intermittently, therefore, forcing users to a new registry."
After adding this to the .bowerrc, I was able to get it to run successfully
{
"registry": "https://registry.bower.io"
}
Thank you for pointing me in the right direction.
9147d6d0e77a2765cc409212dd13a2e044e13c1f includes changes to use npm instead of bower. This doesn't really work well, since npm doesn't actually do the same job as bower (bower supported websites that had a bit of javascript, or even CSS libraries, npm doesn't). However, jquery is loaded that way, and since fastlivefilter isn't available in npm, that is in the repository for now, until the picker becomes a React app. All paths have been updated appropriately to reflect the new jquery location.
Confirmed working by @pautiina
Hey Howie,
Went to start testing out the latest version you have and following the dev instructions on the README.md, npm's installation of Bower gives a warning:
Have you considered this?