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
npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion
and then import ChakraProvider in App.js in my React app, I get the error
Module not found: Error: Can't resolve './Combination' in '/Users/yashburshe/Developer/food-allergy-app/node_modules/react-focus-lock/dist/es2015'
Did you mean 'Combination.js'?
Module not found: Error: Can't resolve './UI' in '/Users/yashburshe/Developer/food-allergy-app/client/node_modules/react-focus-lock/dist/es2015'
Did you mean 'UI.js'?
Wrap ChakraProvider around everything (in my case, my own AuthProvider and inside that BrowserRouter)
Error occurs Module not found: Error: Can't resolve './Combination' in '/Users/yashburshe/Developer/food-allergy-app/node_modules/react-focus-lock/dist/es2015' Did you mean 'Combination.js'?
Chakra UI Version
2.8.2
Browser
Safari 17.4.1
Operating System
macOS
Windows
Linux
Additional Information
No response
The text was updated successfully, but these errors were encountered:
yburshe
changed the title
'react-focus-lock is deprecated
'react-focus-lock' is deprecated
Apr 22, 2024
Description
When I install the required npm packages
npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion
and then import
ChakraProvider
in App.js in my React app, I get the errorNpm warn exists as well
Link to Reproduction
https://codesandbox.io/p/sandbox/chakra-ui-javascript-lzzg9?file=%2Fsrc%2Findex.js
Steps to reproduce
Module not found: Error: Can't resolve './Combination' in '/Users/yashburshe/Developer/food-allergy-app/node_modules/react-focus-lock/dist/es2015' Did you mean 'Combination.js'?
Chakra UI Version
2.8.2
Browser
Safari 17.4.1
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: