ReferenceError: Can't find variable: faunadb

Hi,

Started evaluating Fauna with Delphi/TMS Software WEB Core.

Web App works fine in production environment in localhost. But when moved to public server comes error “ReferenceError: Can’t find variable: faunadb” when logging to Fauna.

This error comes with all browser in different machines, so it possible is related to public server.

Any ideas where to start solving this? I’am not familiar with server side stuff and that’s main reason why intrested using Fauna.

Thanks,

Hmmm, that seems as if Delphi did not import the faunadb library and/or that something is blocking you from downloading the librar. I’m afraid this is very specific to your environment. Did you manage to import other npm libraries successfully? I have little experience with your enviornment so I’m afraid I can’t help you.

Thanks for help.

App works fine in development machine where Delphi is installed. But when moved to production server, “web hotel”, it doesn’t work. Might be that this web hotel is blocking downloading library. I contact them to solve problem.

Solved problem. In Chrome settings is set default that pages what are hosted in https, are not allowed to download content from http addresses. When disabled that from settings, app started working.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.