Asset Link - error loading sidecar.js

hi,

installing it on version 4 beta3 gives me an error loading sidecar.js .

2 Likes

Hi,
I always get the same error…sidecar.js doesn’t load.

I assume you’ve tried the easy stuff - a different browser, rebuilding farmOS’ cache, etc.

I’ve played with this a little bit and so far haven’t been able to reproduce it. Can you share a little about how your site is set up and how you’re installing Asset Link?

I basically installed asset link with composer, everything went well but I don’t see the asset link icon… when I open the link /alink the page is white and when I go to check the errors with firefox I get the error above I attached the screenshot

@altix Hmm I wonder if there’s an issue with the Composer installation method. I installed the latest alpha18 release to test it out yesterday and it worked fine for me - but I didn’t use Composer to install it. I downloaded the tarball from farmos_asset_link-1.0.0-alpha18.tar.gz and unpacked it manually.

1 Like

I just tested this, and it worked fine, so that’s not the problem.

Although I did discover another minor issue… Asset Link needs a dependency on the farmOS API module, because that’s optional in farmOS v4 now (Make the farmOS API optional by mstenta Ā· Pull Request #974 Ā· farmOS/farmOS Ā· GitHub).

So when I tried to test it on a fresh install locally (without farm_api), I get the following:

But it still seems like I got farther than you did…

1 Like

Agreed.

The ā€˜Record type […] does not exist in schema’ error is pretty much expected in this case, but the chunk loading error probably isn’t. I’d be curious what’s causing that…

1 Like

I’ve discovered that SSL certificates are causing problems with sidecar.js. Asset links work fine without SSL. thanks for the help