-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Facing issue on nextjs 14.2.15 #823
Comments
Do you have any peer dependencies warning when you install |
No, i installed everything without any issue following the old issues and solutions, now i am getting this, when i comment the codes related to react-konva, my application runs without problem! |
Can you share your |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"use client";
import dynamic from 'next/dynamic';
// import BlocksContainerCanvas from "@/components/pages/TemplateBuilder/CanvasPage/BlocksContainerCanvas"
// import { DndProvider } from "react-dnd"
// import { HTML5Backend } from "react-dnd-html5-backend"
const CanvasContainer = dynamic(() => import('./CanvasContainer'), {
ssr: false,
});
const CanvasPage = ({
}) => {
return (
<CanvasContainer />
)
}
export default CanvasPage
"use client";
import { Stage, Layer, Circle } from 'react-konva';
function CanvasContainer(props) {
return (
<Stage width={window.innerWidth} height={window.innerHeight}> <Layer> <Circle x={200} y={100} radius={50} fill="green" /> </Layer> </Stage>
);
}
export default CanvasContainer;
webpack: (config) => {
config.resolve.fallback = {
...config.resolve.fallback,
canvas: false,
};
return config;
},
The text was updated successfully, but these errors were encountered: