GitHub + CLI + Velo breaking npm dependencies

Question:

I keep having dependency issues all of a sudden with Wix. I’ll get failures for backend requests and messages like “Error loading web module backend/some_file.jsw: Cannot find module ‘@ns/module_name’”

npm i -g @wix/cli

Updates to the wix cli do fix the issue but only after I’ve already had production problems.

How I can keep from having production problems whenever wix cli needs an update?

Product:

Wix Studio + GitHub integration + Wix cli

What are you trying to achieve:

I want forewarning before my site goes down, and a chance to remedy it

What have you already tried:

Passively waiting until backend requests fail.

Additional information:

I had problems about April 18, and also on March 26th. Both times package management went AWOL.

Thanks for sharing. I’ll share your feedback with the GitHub/CLI team.