Eraser Tool Not Functional

You cannot simply erase parts of a vector shape. You have to use boolean operations.

Please take a look at this topic:

Depending on the desired output other ways are also possible, all mentioned in the linked topic.