Closed flozano closed 1 year ago
Thanks for using Vaadin! We appreciate your help and we’ll take care of this as soon as possible.
Looks like a problem in npm
just to confirm: same steps when generating the project with vaadin 23 generate a fully working app
Can you post the package.json from the problematic project and we can see if it reproduces for somebody else. I can download a V24 project and run npm install just fine, also with npm 9.2.0
@Artur- did you generate the project with start.vaadin.com and worked for you?
This is the failing version (vaadin 24): package.txt
This is the working version (vaadin 23): package.txt
and this is a diff: package.json.diff.txt
This is the project generated with start.vaadin.com / vaadin24 failing-vaadin24.zip
This is the same but with vaadin 23 (works): working-vaadin23.zip
With the project zip I can reproduce it. It is related not only to package.json but also package-lock.json. If you delete package-lock.json and run again it will take quite some time but work
oh, I'll try right now
@Artur- your suggested solution works well, removing the package-lock.json in the generated project and letting npm recalculate it worked well. thanks!
(beware the "faulty" package-lock.json came from the downloaded zip so I guess the problem remains in start.vaadin.com site)
This was fixed in npm 9.3.0
thanks!
Describe the bug
in start.vaadin.com, when you generate an app with vaadin v24 (pre):
and try to run it, you get:
and npm result is:
Expected-behavior
start.vaadin.com generates working apps.
Reproduction
create an app in start.vaadin.com selecting Vaadin 24 pre version and try to run it.
System Info
OS X, Vaadin v24 alpha 7, JDK 17 (Zulu), npm 9.2.0