-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Bug]: The export SelfieSegmentation was not found in module #3469
Comments
Hello! Thank you for filing an issue. Please include relevant logs or detailed description for faster resolutions. We really appreciate your contribution! |
Yes. Same issue "react": "^18.3.1" |
Downgrade "next": "14.2" |
https://github.com/100mslive/web-sdks/blob/main/examples/prebuilt-react-integration/vite.config.js#L7 we had to add this for build with vite. Something similar might be needed for nextjs setup. we did not need this with webpack though, |
I have added a patch to the package to do the same thing but the issue still is a complete blocker. Are there any updates with this? |
I fixed this by manually patching the Here's the fix until the
|
What happened?
in my nextjs15 + react 19 webapp am getting this issue.
The export SelfieSegmentation was not found in module [project]/node_modules/@mediapipe/selfie_segmentation/selfie_segmentation.js [app-ssr] (ecmascript).
`
"use client";
import { HMSPrebuilt } from "@100mslive/roomkit-react";
import { useHMSActions } from "@100mslive/react-sdk";
import { useEffect, useRef, useState } from "react";
const MainPage = () => {
const [isMeetingEnded, setIsMeetingEnded] = useState(false);
const prebuiltRef = useRef(null);
useEffect(() => {
if (prebuiltRef.current) {
prebuiltRef.current.hmsNotifications.onNotification(msg => console.log(handleLeave));
prebuiltRef.current.hmsStore.subscribe(currentRoomState => console.log(handleLeave), selectRoomState);
}
}, []);
const handleLeave = () => {
setIsMeetingEnded(true);
};
if (isMeetingEnded) {
return ;
}
return (
<div style={{ height: "100vh" }}>
);
};
export default MainPage;
const MeetingEnded = () => {
return (
Meeting Ended
Thank you for participating!
);
};
`
How can we reproduce the bug?
import { HMSPrebuilt } from "@100mslive/roomkit-react"; import { useHMSActions } from "@100mslive/react-sdk";
What browsers are you seeing the problem on?
No response
The text was updated successfully, but these errors were encountered: