Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
NodeBB
(section)
From iFixWiki
Views
Read
Edit
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Can't install nodebb-plugin-mybb-import == When trying to install this plugin either from the nodeBB admin page or the command-line interface (CLI), an error will pop up saying: $ npm install nodebb-plugin-import > iconv@2.3.5 install /var/nodebb/node_modules/iconv > node-gyp rebuild make: Entering directory '/var/nodebb/node_modules/iconv/build' CXX(target) Release/obj.target/iconv/src/binding.o make: g++: Command not found iconv.target.mk:107: recipe for target 'Release/obj.target/iconv/src/binding.o' failed make: *** [Release/obj.target/iconv/src/binding.o] Error 127 make: Leaving directory '/var/nodebb/node_modules/iconv/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/nodebb/node_modules/iconv gyp ERR! node -v v10.23.2 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iconv@2.3.5 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iconv@2.3.5 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. '''Solution<ref>https://github.com/bnoordhuis/node-iconv/issues/164#issuecomment-292122618</ref>''' From the CLI, install these dependencies: $ apt install g++ $ npm install node-gyp $ npm install iconv
Summary:
Please note that all contributions to iFixWiki are considered to be released under the Creative Commons Attribution Share Alike (see
IFixWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)