I’m trying to access the wix-paid-plans-backend module from routers.js, but the import fails with this message (shown in the site monitor). The import statement I’m using is as suggested by the editor:
import wixPaidPlansBackend from 'wix-paid-plans-backend';
The error message (extracted from the JSON in site monitor) is:
["Cannot find module 'wix-paid-plans-backend'\nRequire stack:\n- /user-code/backend/routers.js\n- /user-code/stubmodule-that-does-the-require.js\n- /elementory/node_modules/scoped-require/index.js\n- /elementory/create-app.js\n- /elementory/cloud-grid-runner.js"]
Does anyone know what the problem could be?