'Share commons folder betwwn root and frontend folder

Hi Guys I am having this issue:

I have divided my app between front and back and I am sharing a commons folder that is located in the root. I have installed the dependency of that folder in package json in frontend so we can used the files inside but I am having this issue. Can you help me solve it?

Compilation error

This is my frontend package.json with the dependency to the commmons folder located in the root. Please let me know if you need more information.

Front end package.json



Sources

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

Source: Stack Overflow

Solution Source