Skip to content

Conversation

@amirjr1378
Copy link

This PR replaces react-mui-sidebar with react-pro-sidebar to fix the following error:

javascript
Copy
Edit
Uncaught TypeError: Cannot read properties of undefined (reading 'A')
Changes
Removed react-mui-sidebar.
Added react-pro-sidebar as a replacement.
Updated relevant imports and component structure to align with the new library.
Reason
The error occurred due to compatibility issues with react-mui-sidebar. Switching to react-pro-sidebar resolves the issue and improves overall stability.

Testing
✅ Verified sidebar functionality.
✅ Ensured layout and styling remain consistent.
✅ Tested key interactions to confirm no regressions.

… 'Cannot read properties of undefined (reading 'A')'
@vercel
Copy link

vercel bot commented Mar 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modernize-nextjs-free ❌ Failed (Inspect) Mar 8, 2025 1:42pm
@netlify
Copy link

netlify bot commented Mar 8, 2025

Deploy Preview for modernize-nextjs-free failed. Why did it fail? →

Name Link
🔨 Latest commit 6f6b432
🔍 Latest deploy log https://app.netlify.com/sites/modernize-nextjs-free/deploys/67cc48c821600500084e9e42
@amirjr1378
Copy link
Author

5:11:31 PM: error next@14.2.3: The engine "node" is incompatible with this module. Expected version ">=18.17.0". Got "16.20.2"
can we upgrade nodejs version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant