URGENT: Error when calling BackEnd module function

We are getting the following error when my page is trying to call a function defined in a backend jsw file. The code was working fine, but then it started to fail with this error suddenly. Im importing the backend script like this import {saveData} from ‘backend/data.jsw’

Don’t see any code or error message.