"Could not locate bower" error while migrating from Vaadin 13 to Vaadin 14
See original GitHub issue“Could not locate bower” error while migrating from Vaadin 13 to Vaadin 14
Error while migrating from Vaadin 13 to Vaadin 14 using migration tool
Running
mvn vaadin:migrate-to-p3 -Dresources=<RESOURCES_PATH> -X
error
com.vaadin.flow.migration.MigrationToolsException: Could not locate bower. Install it manually on your system and re-run migration goal
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (9 by maintainers)
Top Results From Across the Web
How to fix “Could not locate bower” error while migrating from ...
Executing the following command mvn vaadin:migrate-to-p3 returns the com.vaadin.flow.migration.MigrationToolsException: Could not locate bower.
Read more >How to fix "Could not locate bower" error while migrating from ...
Executing the following command mvn vaadin:migrate-to-p3 returns the com.vaadin.flow.migration.MigrationToolsException: Could not locate bower.
Read more >Frontend files are not migrated with `vaadin:migrate-to-p3` if in ...
install node, npm and bower; run vaadin:migrate-to-p3; observe some modulizer errors and warnings about missing dependencies; build success.
Read more >Vaadin 14 With Bower Components: Module Not Found Error
The Polymer 2 to Polymer 3 migration tool is not actively maintained and it has issues.You can try if it works in your...
Read more >Vaadin 14 - The missing guide - Martin Vysny
Bower mode is deprecated and will go away in future Vaadin versions, do not use it for new projects - always use the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
reopening this issue, as it still exists and disables migrating from v10 to v14 for Windows users
known workaround is to install Linux subsystem, install bower and run migration there; another workaround suggests using docker, installing bower and running migration there - I think these are not acceptable as solutions
a look into the code seems to indicate that migration tool looks for bower in an empty directory if it is not installed globally, but that is just my guess based on the fact that I have not written that code and I have no idea how it works
Still not fixed in Vaadin 14.3.3. The WSL workaround is not a solution - the WSL is quite slow; the migration might require recompiling the entire app under WSL which can be tedious (1h+). Also not a workaround for WIndows folk who do not know anything about linux.