It seems I am unable to pull in plugins, as nodebb
does not find npm
.
Command failed: /bin/sh -c npm install [email protected] /bin/sh: npm: not found
But npm
is installed of course:
root@fc:~ # whereis npm
npm: /usr/local/bin/npm /usr/local/lib/node_modules/npm/man/man1/npm.1.gz
root@fc:~ # npm --version
2.15.6
This is if I try to install npm:
root@fc:~ # pkg install npm
Updating nodebb repository catalogue...
nodebb repository is up-to-date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
npm: 3.9.2 [FreeBSD]
node: 6.7.0 [FreeBSD]
c-ares: 1.11.0 [FreeBSD]
Number of packages to be installed: 3
The process will require 26 MiB more space.
6 MiB to be downloaded.
Proceed with this action? [y/N]: y
Fetching npm-3.9.2.txz: 100% 2 MiB 2.2MB/s 00:01
Fetching node-6.7.0.txz: 100% 4 MiB 3.8MB/s 00:01
Fetching c-ares-1.11.0.txz: 100% 118 KiB 120.8kB/s 00:01
Checking integrity... done (2 conflicting)
- npm-3.9.2 [FreeBSD] conflicts with npm2-2.15.6 [installed] on /usr/local/bin/npm
- node-6.7.0 [FreeBSD] conflicts with node4-4.6.0 [installed] on /usr/local/bin/node
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 6 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
node4-4.6.0
nodebb-devel-1.2.0
npm2-2.15.6
New packages to be INSTALLED:
c-ares: 1.11.0 [FreeBSD]
node: 6.7.0 [FreeBSD]
npm: 3.9.2 [FreeBSD]
Number of packages to be removed: 3
Number of packages to be installed: 3
The operation will free 64 MiB.
Proceed with this action? [y/N]: n