-
Notifications
You must be signed in to change notification settings - Fork 283
Description
When loading the MCP UI in the browser, the following runtime error occurs:
text
Uncaught ReferenceError: process is not defined
at ui-resource-renderer.wc.js:1486:1
It looks like the bundled code is assuming a Node.js-style global process object is available, but in the browser environment it is not defined. This causes the UI to fail at runtime.
Expected behavior:
The MCP UI should run in the browser without relying on the Node.js process global (or should include a proper polyfill/shim during the build step).
Environment:
Environment: Browser
File: ui-resource-renderer.wc.js
Error location: line 1486
Please let me know if you want to mention your framework, browser, or MCP UI version and I can help you slot that into the template.
1486:process.env.NODE_ENV === "production" ? WS.exports = vO() : WS.exports = hO();
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
ui-resource-renderer.wc.js:1486 Uncaught ReferenceError: process is not defined
at ui-resource-renderer.wc.js:1486:1
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR