-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS issue on Services detail pages #430
Comments
I ran into the same thing, which seems to be caused by dependencies requiring the Node module fs, which isn't available in the browser. webpack(config) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
};
return config;
}, This works for me, but I'm not familiar enough with Next.JS to know what the trade-offs are and there's likely a better solution. |
Currently, we are patching internal Root
Not sure if there's a better solution but it seems to work for now until https://github.com/boyney123/eventcatalog/pull/431 is merged |
Thanks for the patience , this is now fixed thanks to #431, I have also locked down the AsyncAPI react component (Which broke things), we can update that in future releases.
Try again, reopen the issue if we still have issues. Thanks! |
Have you read the Contributing Guidelines on issues?
Description
There's an error when navigating to Service detail pages
Steps to reproduce
Run
npx @eventcatalog/create-eventcatalog@latest my-catalog
cd my-catalog && npm run dev
go to http://localhost:3000/services/ and click one of the services or deeplink directly to http://localhost:3000/services/Data%20Lake/
Expected behavior
Service detail pages should show correctly similarly to events detail pages
Actual behavior
Your environment
latest
Chrome 115
Node v16.15.1
macOS 13.5
The text was updated successfully, but these errors were encountered: