@yisrael-wix , Thanks for responding. I actually tried it in the front end page and backend code file (I read somewhere Wix did support importing npm packages in the frontend now) and just included the front end screenshot accidentally, but the backend error is similar, see below. This error occurs when I call a function from the frontend page that’s in the backend code file.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Accessing Backend Module | 4 | 1290 | February 24, 2019 | |
| Cannot find module 'stripe' in 'public/pages/fwa24.js' | 6 | 903 | November 6, 2019 | |
| You can now officially use npm packages in your front-end page code! | 28 | 3125 | March 19, 2020 | |
| Cannot find module 'wix-stores-backend' in 'public/pages/spp7g.js' | 4 | 3443 | March 25, 2020 | |
| Error loading web module backend | 3 | 1035 | June 30, 2021 |
