project_mern_memories
project_mern_memories copied to clipboard
Can't resolve '@amaterial-ui/core'
Module not found: Can't resolve '@amaterial-ui/core' in 'C:\Users\Owner\Desktop\dailytips project\client\src\components\Posts' Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
I tried almost anything, I don't know why this error gives me, help me with some ideas please!!
The solution is reading the error message one more time carefully:
Can't resolve '@amaterial-ui/core' in 'C:\Users\Owner\Desktop\dailytips project\client\src\components\Posts'
That's because we don't have anything such as @amaterial-ui/core
.
That's actually @material-ui/core
.
It's just a misspelling.
Fix that and everything will be fine.
So i keep writing the code and the problem will be solved right? or how to fix that? thank you very much
@ChrisPG2022
I've already mentioned how to fix that.
In the line 2 where you've imported the material-ui/core package, you need to type @material-ui/core
instead of @amaterial-ui/core
.
That's the issue.
Remove a
after at sign symbol.
The correct name of the package is material
NOT amaterial
.
I swear I don't know why I didn't see this, thank you very much for your help
the card on the top left is not loading and I have this error? Is that why it's not displayed?
@ChrisPG2022
It has to be something with the backend and the server side.
If you follow the tutorial and the codes in Adrian's Repo, everything will be fine.
Also don't forget to comment out mongoose.set('useFindAndModify', false);
in the index.js file inside your server directory.
Thanks, I'll do this, I hope to find the solution..