fix: move sudo action in a state. install bower after package.json