Despite my efforts to find the answer, I couldn't locate it and so here I am asking again.
What I'm looking for:
I need to move a file from node_modules to my project in order to work on it.
First attempt:
I moved the file I wanted to edit And adjusted the import path accordingly https://i.stack.imgur.com/mFiIE.png https://i.stack.imgur.com/Z3znx.png
Outcome:
Puzzling situation:
All modified paths seem correct I can access the imported file through the path in the IDE.
Sample repository:
https://github.com/YahngSungho/dfsfdsfsfdsfwfsd/tree/help/npmToLocal1 In particular: https://github.com/YahngSungho/dfsfdsfsfdsfwfsd/tree/help/npmToLocal1/src/components/editableText
Second attempt:
I transferred all imported files along with the one I want to modify into the project.
Outcome:
My thoughts: This issue might be related to Typescript or commonjs, but I'm unsure how to resolve it.
Sample repository: https://github.com/YahngSungho/dfsfdsfsfdsfwfsd/tree/help/npmToLocal2 Especially: https://github.com/YahngSungho/dfsfdsfsfdsfwfsd/tree/help/npmToLocal2/src/components/list/editableText/components/editable-text
If anyone has a solution to this problem, I would greatly appreciate your help.