You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please introduce a sort of bower.lock file just like composer has its composer.lock file that would ensure that running bower install installs the precise versions listed in this file
Please introduce a sort of bower.lock file just like composer has its composer.lock file that would ensure that running bower install installs the precise versions listed in this file
Why?
this is my bower file
I use bower as a part of my deployment process where bower install is run on the server at deply time
what happenned is that on localhost jquery installed from components/jquery but on the server it installed from jquery/jquery
so i deployed my app, and it didn't work because the files structure was different.
so then i changed my bower.json to look like this
and thought that bower update will install the same package on my localhost. but no
i had to bower cache clean on both machines, wipe bower components folder and reinstall again
what i fail to comprehend is how can the same identifier resolve to different repos
another thing is before every deploy i have to run bower update to check if newer versions don't break anything when they're pulled in at deploy
a lock file would ensure that the correct versions are installed every time
The text was updated successfully, but these errors were encountered: