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

When trying to create a new design, a "No Polymer found in the project" error #2445

Open
jonathanjt opened this issue Jan 25, 2023 · 3 comments · Fixed by vaadin/docs#3903
Open
Labels
bug Impact: Low Less than 15% of users are affected by the issue. Severity: Minor Severity - Lowest out of blocker, major and minor

Comments

@jonathanjt
Copy link

Steps to reproduce

  • Generated a Vaadin project via start.sprint.io (gradle build)
  • In IDEA, installed Designer plugin
  • select a folder/package below the top level, or the 1st level ( e.g. src/main )
  • Select New->Vaadin10+ Design
  • Encounter attached error screen
  • If you select any folder/package other than the top level, or 1 level deep, you get an error on the initial creation page (attached screenshot)
  • for reference, attached a shot of my current directory structure

Actual behavior

  • Error about missing polymer.html

Expected behavior

  • No error

IDE, Designer and OS versi

  • IDEA (2022.2.2), Designer (4.6.20), RHEL 8.7

structure
no_polymer

@szolo szolo added bug Severity: Minor Severity - Lowest out of blocker, major and minor Impact: Low Less than 15% of users are affected by the issue. labels Apr 10, 2023
@mshabarov mshabarov moved this to 🔖 Normal Priority (P2) in Vaadin Flow bugs & maintenance (Vaadin 10+) Sep 26, 2023
@TatuLund
Copy link

The workaround to this issue should be to launch the application once. This will run "npm install" and load the dependencies like Polymer. The error message is misleading nowadays as with Vaadin 23 and 24 WebJAR's and Bower are not being used anymore. Also Vaadin 14 uses Node and npm (pnpm) by default.

@mfrontiera
Copy link

Hi, did you manage to fix it? I Have this problem with Vaadin 24

@TatuLund
Copy link

With new Vaadin 24 versions you need to disable the pre-compiled frontend bundle

https://vaadin.com/docs/latest/flow/configuration/development-mode#disable-precompiled-bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Impact: Low Less than 15% of users are affected by the issue. Severity: Minor Severity - Lowest out of blocker, major and minor
Projects
Status: 🔖 Normal Priority (P2)
Development

Successfully merging a pull request may close this issue.

4 participants