Replit extension not loading

Question:
My Replit extension isn’t loading

Repl link:
replit.com/@element1010/Useless-Extension

code snippet

Notes: I am opening it in the extension pane.

You have an ES6 function () => {} where you attempt to use await. You can only use await in async functions or at top scope in browser JS. Just add async in front of the ES6 function and it’ll work (like this async () => {}).

4 Likes

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