Hi Wioletta,
Thanks for your update.
We suspect that before updating the npm modules, packages will be loaded from npm cache. So it didn't work on building the project and might solved once the npm is updated with latest version. Please let us know if you require any further assistance.
Regards,
M. Vinitha devi