# Suddenly cannot import Back End Modules after Years of being able to

**URL:** <https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616>\
**Category:** Ask the community\
**Tags:** wix-members-backend, wix-media-backend, wix-data, wix-members-area, code\
**Created:** [June 19, 2025, 11:36am UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616 "2025-06-19T11:36:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![user58](https://avatars.discourse-cdn.com/v4/letter/u/a5b964/32.png) [@user58](https://forum.wixstudio.com/u/user58)\
**Post date:** [June 19, 2025, 11:36am UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/1 "2025-06-19T11:36:14Z")

</div>

Suddenly I cannot import Back End Modules after Years of being able to ?!

I suspect a problem on Wix side not my code as I have not changed the code for years and it was worked ok until now

eg.

```
import { mediaManager } from 'wix-media-backend';

```

also

```
import wixStoresBackend from 'wix-stores-backend';
import wixData from 'wix-data';
import { members } from 'wix-members-backend';
import { currentMember } from 'wix-members-backend';
import { wixUsers } from 'wix-users-backend';

```

I did a very minor republish a few days ago to change a date in the text on a page but still the code was unchanged.

I see this thread also highlighted the problem over a year ago which magically went away but I need this fixing by Wix today please

[wix server bug](https://forum.wixstudio.com/t/help-suddenly-cannot-find-module-wix-window-frontend-nor-wix-pricing-plans-frontend/55744)

Please help as it has stopped my whole site working

---

<div class="post-metadata">

**Author:** ![noahlovell](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/noahlovell/32/118920_2.png) [@noahlovell](https://forum.wixstudio.com/u/noahlovell)\
**Post date:** [June 19, 2025, 11:43am UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/2 "2025-06-19T11:43:11Z")

</div>

Are you able to share a little more information?

- Where are you adding these imports? Backend (.jsw/.web.js)/Frontend (page code/public .js file)
- Are there any specific error messages?
- Is this in the in-editor IDE, of the Wix IDE (VSCode based)

---

<div class="post-metadata">

**Author:** ![user58](https://avatars.discourse-cdn.com/v4/letter/u/a5b964/32.png) [@user58](https://forum.wixstudio.com/u/user58)\
**Post date:** [June 19, 2025, 12:15pm UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/3 "2025-06-19T12:15:11Z")

</div>

Thank you for your help.

The code is in a .jsw file in the backend section and is used in a simple form page on my website.

I am using the wix editor.

I get a build log error when publishing

[/pages/Submit Urls\*\*\*\*.ezq5w.js]: Cannot find module ‘wix-media-backend’ in ‘public/pages/ezq5w.js’

As I say this code has worked for years and there have been zero changes to it so I belive there is a bug on Wix servers…

---

<div class="post-metadata">

**Author:** ![noahlovell](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/noahlovell/32/118920_2.png) [@noahlovell](https://forum.wixstudio.com/u/noahlovell)\
**Post date:** [June 19, 2025, 12:32pm UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/4 "2025-06-19T12:32:15Z")

</div>

The error in the build log is indicating that the code is written in a site page, rather than in a .jsw file.

You’ll probably find if you navigate to the page and view the code, it’ll have errors on the import

---

<div class="post-metadata">

**Author:** ![user58](https://avatars.discourse-cdn.com/v4/letter/u/a5b964/32.png) [@user58](https://forum.wixstudio.com/u/user58)\
**Post date:** [June 19, 2025, 1:13pm UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/5 "2025-06-19T13:13:01Z")

</div>

I have now managed to fix this. Thank you for your help

---

<div class="post-metadata">

**Author:** ![user58](https://avatars.discourse-cdn.com/v4/letter/u/a5b964/32.png) [@user58](https://forum.wixstudio.com/u/user58)\
**Post date:** [June 19, 2025, 4:18pm UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/6 "2025-06-19T16:18:17Z")

</div>

I have now managed to fix this. Thank you for your help

---

<div class="post-metadata">

**Author:** ![onemoretime](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/onemoretime/32/104023_2.png) [@onemoretime](https://forum.wixstudio.com/u/onemoretime)\
**Post date:** [June 19, 2025, 5:05pm UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616/7 "2025-06-19T17:05:46Z")

</div>

I was about to respond, but I’m glad to hear the issue has been resolved. 😇  
Personally, I had a feeling that there was a slight mistake in the way the backend module was being imported. So, what was the cause in the end? 🙃
