Hi,
I’ve been following the tutorial trying to expose a very basic API, however, it didn’t work.
It shows the following log in debug mode:
Error loading web module backend/http-functions.js: Cannot find module 'backend/http-functions.js'
Require stack:
- /user-code/stubmodule-that-does-the-require.js
- /elementory/node_modules/scoped-require/index.js
- /elementory/create-app.js
- /elementory/cloud-grid-runner.js
My code is extremely simple and the site has been published. The URL I’ve used was in this format:
https://www.{my_domain}/_functions-dev/products
Please help! Much appreciated.