Replit extension not loading

My Replit extension isn’t loading

Repl link:

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 () => {}).


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