'I got an firebaseinit.js file error.How can I solve this?

I tried to import firebase init file.Unfortunately I created firebase.init.js file in wrong place.That's why I got an error.But then I deleted that file and made it in another correct directory.But after creating the new directory,the error is still showing up.How can I solve this now??Error in ./src/components/Pages/Login/Login.js Module not found: Error: You attempted to import ../../../../firebase.init.js which falls outside of the project src directory.Relative imports outside of src are not supported.You can either move it inside src or add a symlink to it from project's node_modules.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source