question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Including toolkit plugin throws error

See original GitHub issue

I am using the toolkit with Alpine 3.10.2 like this

import Alpine from 'alpinejs'
import Toolkit from '@alpine-collective/toolkit'
import GLightbox from 'glightbox';
import $ from 'jquery';
import 'slick-carousel';

Alpine.plugin(Toolkit)
Alpine.start()

but I am getting an error on the console saying

Uncaught TypeError: e is not a function
    plugin https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    218 https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    n https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    <anonymous> https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    O https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    <anonymous> https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    <anonymous> https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
[site.js:2:24366](https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745)
grafik

This happens with yarn run production.

When running yarn run dev I get this error

grafik

which leads me to this place

grafik

Any idea what is wrong there?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
SimoTodcommented, Nov 14, 2022

Fixed in 1.0.2

1reaction
benkoshycommented, Jul 25, 2022

Having the same issue. not sure how to fix it:

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Grafana toolkit - signing a plugin error · Issue #48903 - GitHub
Cheers I upgraded to node v16.15.0 but still get the same error, I discovered its to with handling requests via proxies and the...
Read more >
Wordpress Toolkit Error when Scanning for Updates
To fix the issue: Update the plugin to the latest version. If it's not possible to update plugin using WPTK(due to plugin incompatibility...
Read more >
Errors causing conflict with other plugin - WordPress.org
If I try to activate it will conflict with Gutentor. I cannot load Gutentor blocks. I have compared two sites and deactivated all...
Read more >
Toolkit Plugin for Jira: Syntax error when hiding a message ...
When using the Message Custom Fields by Toolkit Plugin for Jira, the default value of these fields are rendered as arbitrary HTML instead...
Read more >
Microsoft Dynamics CRM Forum
Hi Team,. I am getting following error when I create a plugin using Dynamics 365 developer toolkit. I am using visual studio 2015...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found