-
Notifications
You must be signed in to change notification settings - Fork 19
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
split-react bug #13
Comments
fixed |
hy @noams24 i am going through the same issue could you help me out I got this error when i am trying to use the import React from 'react';
import Split from "react-split"
import ProblemStatement from "@/components/problemStatement/problemStatement";
type Props = {};
const Workspace = (props: Props) => {
return (
<Split className="split">
<ProblemStatement/>
<div>editor</div>
</Split>
);
};
export default Workspace when i run Server Error i did everything which i can like re-install the package , dubugging but i failed to fix this error {
"name": "leetcode-cl",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@types/node": "20.4.9",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.14",
"firebase": "^10.3.0",
"next": "13.4.13",
"postcss": "8.4.27",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-firebase-hooks": "^5.1.1",
"react-icons": "^4.10.1",
"react-split": "^2.0.14",
"react-toastify": "^9.1.3",
"react-youtube": "^10.1.0",
"recoil": "^0.7.7",
"tailwindcss": "3.3.3",
"typescript": "5.1.6"
}
}
|
@sinhaniik I forgot how I fixed it, in my package is:
Check in my package maybe you forgot to install some dependency In the website https://www.npmjs.com/package/react-split?activeTab=dependencies |
so what should i do, |
I think try to install those extra packages |
i just checked my |
the issue has been resolved |
when trying to run the code:
I get the error:
The text was updated successfully, but these errors were encountered: