You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to import surrealdb script directly from the browser fails:
<script src="node_modules/surrealdb.js/esm/index.js" type="module"> </script>
gives Uncaught TypeError: The specifier “isomorphic-ws” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.
<script src="node_modules/surrealdb.js/script/index.js"></script>
gives Uncaught ReferenceError: exports is not defined
How should I go about this?
The text was updated successfully, but these errors were encountered:
Trying to import surrealdb script directly from the browser fails:
<script src="node_modules/surrealdb.js/esm/index.js" type="module"> </script>
gives
Uncaught TypeError: The specifier “isomorphic-ws” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.
<script src="node_modules/surrealdb.js/script/index.js"></script>
gives
Uncaught ReferenceError: exports is not defined
How should I go about this?
The text was updated successfully, but these errors were encountered: