Welcome npm012 to the ports tree.
If you pkg install node012 and then pkg install npm it will delete the node012
package and install node 4.1.1. Since node 4.1.1 is incompatible with node 0.12.x
things will explode in spectacular fashion.
Also a (small) WTF to the node project for going from 0.12.x to 4.1.1 in a week?