Persistent error in my blocks app

I’m having trouble with
Developing a Blocks App

Working in
Blocks

What I’ve tried so far
I’m developing a Blocks App (yes I know, not supportet in Harmony but the “new CLI” does not support editor embedded controls). Everything worked fine until End of December and from then on I get an error which I belive comes from the build system. Probably WIX has made yarn more restrictive, I don’t know. After writing with the support back and forth and circeling endless I’m finally here.

Any ideas?

Extra context
Error loading web module @myOrganisation/namespace-backend: Both resolutions failed at _load!
[]
Original resolver: Cannot find module ‘@myOrganisation/namespace-backend’
Require stack:

  • /user-code/stubmodule-that-does-the-require.js
  • /home/node/cloud-runtime-code/node_modules/scoped-require/index.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/factories.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/create-app.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/cloud-grid-runner.js
    YarnPNP: Both resolutions failed at _resolveFilename!
    [{“moduleFunctionName”:“_load”,“codePath”:“yarnPNP”,“request”:“@myOrganisation/namespace-backend”},{“moduleFunctionName”:“_resolveFilename”,“codePath”:“yarnPNP”,“request”:“@myOrganisation/namespace-backend”}]
    Original resolver: Cannot find module ‘@myOrganisation/namespace-backend’
    Require stack:
  • /user-code/stubmodule-that-does-the-require.js
  • /home/node/cloud-runtime-code/node_modules/scoped-require/index.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/factories.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/create-app.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/cloud-grid-runner.js
    YarnPNP: Your application tried to access @myOrganisation/namespace-backend, but it isn’t declared in your dependencies; this makes the require call ambiguous and unsound.

Required package: @myOrganisation/namespace-backend
Required by: /user-code/

Require stack:

  • /user-code/stubmodule-that-does-the-require.js
  • /home/node/cloud-runtime-code/node_modules/scoped-require/index.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/factories.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/create-app.js
  • /home/node/cloud-runtime-code/packages/elementory/cloud-runtime/cloud-grid-runner.js

Is this happening in the site where the Blocks App is installed, or when building the app?

Does it persist when uninstalling/installing again?

If it’s happening on the site you’ve installed the app on - it looks like a similar error I’ve seen before that was resolved by installing an NPM package - which can then be removed. Worth a try?

Thanks for answering!
Yes the WIX-Studio page breaks. If I uninstall it works for a while (after a couple of roundtrips while testing the latest version). You mean installing a random npm and deinstalling? This is something I tried some time ago, but worth to do it again.

Any other (wild) guesses?