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