Vite build exited with a non zero status

Vite build exited with a non zero status - LOG.txt (18.7 KB)
Hello,

My project in Jmix framework 2.1.2 and Studio 2.1.3-233 versions is running successfully on my home computer.

But on my work computer I have got the error “Vite build exited with a non zero status”.

Please let me know what could be causing this error. Detailed log file is attached.

Thank you.

Hi,

The exact issue with the build is not clear from the log. Can you clean up the project (./gradlew clean, vaadinClean, remove node_modules) and run the build again?

Regards,
Sergey

Hi, Sergey!

Thanks for your prompt reply!

I will try to follow your advice on Monday when I will be in the office.

Regards,
Valery

Sergey, good morning!

I tried to follow your advice but have got new error:

Found too old globally installed ‘pnpm’. Please upgrade ‘pnpm’ to at least 5.0.0.

Please advise what could be causing this error.

Thank you.

Regards,
Valery

Vaadin seems to be having trouble finding the appropriate version of the Node.js package manager during the build process.
Are you able to update the version of pnpm on your computer?
As a workaround you can change the following setting to false in the application.properties

# Use pnpm to speed up project initialization and save disk space
vaadin.pnpm.enable = false

and rebuild the app.

Thanks, Sergey!

I will try to do this on Monday when I will be in the office.

Regards,
Valery

Sergey, good morning!

Today everything works. It’s some kind of mistiks. Actually from last monday nothing was changed by me.

Anyway thank you for your support.

Regards,
Valery