I am getting this error some times.
BTW, it seems the error trace changed recently (today) and it doesn’t seems to resolve after some time.
googleapi is installed in npm and everything works when it works, but after editing the backend code the problems begin, and the whole site is down.
workaround is to remove googleapi and related code solve
tnx
here is the error trace
Error loading web module backend/mybackend.js: Both resolutions failed at _load! [] Original resolver: Both resolutions failed at _load! [] Original resolver: Cannot find module 'googleapis'
Error loading web module backend/mybackend.js: Both resolutions failed at _load! [] Original resolver: Both resolutions failed at _load! [] Original resolver: Cannot find module 'googleapis' Require stack: - /user-code/backend/mybackend.js - /user-code/stubmodule-that-does-the-require.js - /cloud-runtime-code/node_modules/scoped-require/index.js - /cloud-runtime-code/packages/elementory/cloud-runtime/factories.js - /cloud-runtime-code/packages/elementory/cloud-runtime/create-app.js - /cloud-runtime-code/packages/elementory/cloud-runtime/cloud-grid-runner.js YarnPNP: Both resolutions failed at _resolveFilename! [{"moduleFunctionName":"_load","codePath":"yarnPNP","request":"googleapis"},{"moduleFunctionName":"_resolveFilename","codePath":"yarnPNP","request":"googleapis"}] Original resolver: Cannot find module 'googleapis' Require stack: - /user-code/backend/mybackend.js - /user-code/stubmodule-that-does-the-require.js - /cloud-runtime-code/node_modules/scoped-require/index.js - /cloud-runtime-code/packages/elementory/cloud-runtime/factories.js - /cloud-runtime-code/packages/elementory/cloud-runtime/create-app.js - /cloud-runtime-code/packages/elementory/cloud-runtime/cloud-grid-runner.js YarnPNP: Your application tried to access googleapis, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.