I’m trying to customize a few components, but anytime I try to copy a component from /scandipwa/node_modules/@scandipwa/scandipwa/src/component/Footer/
into my app directory /scandipwa/src/component/Footer/
I get the following errors:
I have tried various components and I get the same results. I have tried removing all but the .component.js
and .style.scss
files in the directory, but the error still persist.
I do not get any errors with just .style.scss
files and have been able to override those component files just fine as long as I remove everything else in the component directory.
What might I be doing wrong here?