Hello everyone,
I have recently installed www/node and www/npm using portmaster:
This installation method causes npm to installed as root and thus install all packages using the root account...
Because this happens, a lot of permission issues arise.
I tried fixing this manually, but this caused npm to freeze the entire system (I/O lock) during installing packages.
Is there anyone that has done this successfully and could you help me set it up correctly?
I have recently installed www/node and www/npm using portmaster:
$ sudo portmaster www/node www/npm
This installation method causes npm to installed as root and thus install all packages using the root account...
Because this happens, a lot of permission issues arise.
I tried fixing this manually, but this caused npm to freeze the entire system (I/O lock) during installing packages.
Is there anyone that has done this successfully and could you help me set it up correctly?