Skip to main content
Luis Antonio Parrado avatar
Luis Antonio Parrado

Button copy doesn't work for me! I get a Alpine error in console!

Uncaught ReferenceError: $tooltip is not defined at [Alpine] navigator.clipboard.writeText('http://127.0.0.1:8000/join/JZId6N25Bb7BVfI58w3zbSrcpJ8TkEbfVIVnjk00ZKpgQiS4D8iKbhOhx3b75Z4i'); $tooltip('Copied!', { timeout: 2000 }); (eval at safeAsyncFunction ( ...

Povilas Korop avatar

This operation requires HTTPS secure protocol by browser, it will not work on http://127.0.0.1 from what I know, should be something like https://project.test

I use Laravel Herd so I just run herd secure on that folder.

Luis Antonio Parrado avatar
Luis Antonio Parrado

Now copy works over ssl, but i get a ‘$tooltip is not defined‘ and Copied! message is not shown ( with https)

Povilas Korop avatar

Hm, not sure, it really worked for me, at the time. Maybe some compiling needed? Try npm install && npm run build?

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.