I checked your command in our environment. The command itself has no issue. Here is our test result:
I found your Teams module install in two different file locations, could you try to access these files location successfully and delete the module manually?