I am started getting error "TypeError: Cannot read property 'add' of undefined"

Hi there,
I was working on styling and all of sudden I started getting this error. I didn’t even change a single line of code when it occured. May be project crashes or something?

Is there any fix for this? If yes then please guide me. Thanks :slight_smile:

Hi @hammad

Can you provide a repository with the code of your project?
By doing so the community will be able to clone your project and try to reproduce the error you’re having With this info it’ll be much more easy to help you with your issue


1 Like

I have created another project and its working now. With the same code that i am writing and working on. I didn’t come to know that what was the issue so i created the new project. Its all set now.