© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Apache TinkerPopAT
Apache TinkerPop•5mo ago•
2 replies
radens

Using gremlin from the browser

Hello there! I'm trying to use gremlin from the browser and am getting an error from webpack when I try to import gremlin.

The readme for the npm package says there's experimental support for calling from the browser, but I'm guessing this isn't how I'm supposed to do that.

Our DB is a azure cosmos DB if that helps.


import * as gremlin from 'gremlin';
import * as gremlin from 'gremlin';



[build:webpack] node:os - Module build failed: UnhandledSchemeError: Reading from "node:os" is not handled by plugins (Unhandled scheme).
[build:webpack] node:os - Module build failed: UnhandledSchemeError: Reading from "node:os" is not handled by plugins (Unhandled scheme).


My wild guess is that the gremlin package is trying to import functions from the node stdlib and webpack doesn't support that, but I'm not an expert in any of this and could be off base.
Apache TinkerPop banner
Apache TinkerPopJoin
Apache TinkerPop is an open source graph computing framework and the home of the Gremlin graph query language.
1,376Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Gremlin browser code editor
Apache TinkerPopATApache TinkerPop / questions
3y ago
Using Spark inside Gremlin-Server
Apache TinkerPopATApache TinkerPop / questions
3y ago
Using java/gremlin inside python with Jpype!
Apache TinkerPopATApache TinkerPop / questions
15mo ago
Error running gremlin.bat from WIN11 machine
Apache TinkerPopATApache TinkerPop / questions
3y ago