raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.23k stars 2.94k forks source link

[Elgato Key Light] Extension not opening #7010

Closed gt-codes closed 1 year ago

gt-codes commented 1 year ago

Extension

https://www.raycast.com/thomas/elgato-key-light

Description

Error:

No error message was given, only the below screenshot. Uninstalling and re-installing the extension doesn't fix this issue.

CleanShot 2023-06-09 at 10 58 33@2x

Steps To Reproduce

  1. Search for Toggle On/Off Command or use keyboard shortcut to open extension
  2. Screenshot shows
  3. Reload Extension
  4. Screenshot shows

Current Behaviour

Screenshot showing something is wrong, can only reload the extension and that doesn't work.

Expected Behaviour

Elgato light is supposed to be toggling on/off

raycastbot commented 1 year ago

Thank you for opening this issue!

🔔 @thomaspaulmann @omarshahine you might want to have a look.

💡 Tip: Once the issue is resolved, comment @raycastbot close this issue to close it.

omarshahine commented 1 year ago

@thomaspaulmann I ran the extension from VSCode and observe this:

09:50:53.390 (node:40878) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
09:50:53.406 
TypeError: e.default is not a function

$q:index.js:20:34163

---
17: `,o.write(n)}},B0=ml;wa.default=B0});var eS=l(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});Object.defineProperty(pn,"Agent",{enumerable:!0,get:function(){return j0.default}});Object.defineProperty(pn,"HttpProxyAgent",{enumerable:!0,get:function(){return U0.default}});Object.defineProperty(pn,"HttpsProxyAgent",{enumerable:!0,get:function(){return H0.default}});var j0=yl(Pa()),U0=yl(QP()),H0=yl(ZP());function yl(e){return e&&e.__esModule?e:{default:e}}});var oS=l((Ta,rS)=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});function G0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tS(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function z0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function W0(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}var X0=function(e){z0(t,e);function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";G0(this,t);var o=tS(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return Object.defineProperty(o,"message",{configurable:!0,enumerable:!1,value:r,writable:!0}),Object.defineProperty(o,"name",{configurable:!0,enumerable:!1,value:o.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(o,o.constructor),tS(o)):(Object.definePro<…>
09:50:53.407 
Could not load command
lukasoppermann commented 1 year ago

I am having the same issue.

thomaspaulmann commented 1 year ago

I'm traveling and don't have my key lights with me but will be back next week and take a look.

thomaspaulmann commented 1 year ago

Could you copy the error via the action menu when the error occurs and paste here? It might help

lukasoppermann commented 1 year ago

It started working again for me. Don't know what was fixed, but I did nothing. :D

omarshahine commented 1 year ago

It started working for me as well. @raycastbot can you close this bug please?

raycastbot commented 1 year ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 1 year ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.