I’m trying to install npm port package but when I run the command “sudo port install npm” the bash shows error message below, and repeat the same error infinitely.
Warning: No port serf found in the index; can't rebuild
---> Found 0 broken port(s), determining rebuild order
---> Rebuilding in order
---> Scanning binaries for linking errors: 100.0%
---> Found 2 broken file(s), matching files to ports
How can I solve this problem?
Thanks.
To fix this problem I made a port cleanup and deactivate, the steps:
Following the steps above my problem was solved.