No port serf found in the index; can't rebuild

Viewed 3451

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.

2 Answers
Related