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
Can you try passing --legacy-runtime flag to your dev command? That might give you better errors.
Generally speaking, the Oxygen platform is not compatible with Node.js APIs so that, if your dependencies require Node.js they might fail in Oxygen.
Also, I see you're creating a new instance of AppSearchAPIConnector at the top level. I don't know what this is doing but if it's trying to establish a network connection, this would fail in the server. You'd probably need to do this within a useEffect or useMemo in React.
What is the location of your example repository?
Hydrogen Demo Store
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
"@elastic/react-search-ui": "^1.21.1"
What version of Remix are you using?
Remix 2.8.0, Remix run time: 2.6.0 ,
Steps to Reproduce
install package:
yarn add @elastic/search-ui @elastic/react-search-ui-views @elastic/search-ui-app-search-connector @elastic/react-search-ui
create a component file:
Expected Behavior
I got this issue when using SearchProvider component,
Actual Behavior
When I run dev, I got this bug.
The text was updated successfully, but these errors were encountered: