akhoury / nodebb-plugin-import

migrate your old crappy forum to NodeBB
MIT License
78 stars 31 forks source link

Can't install nodebb-plugin-import #203

Open Choppra opened 8 years ago

Choppra commented 8 years ago

npm install nodebb-plugin-import npm WARN engine npm@1.4.29: wanted: {"node":">=0.8","npm":"1"} (current: {"node":"4.5.0","npm":"2.15.9"})

iconv@2.2.1 install /home/nodebb/nodebb/node_modules/nodebb-plugin-import/node_modules/iconv node-gyp rebuild

gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11 gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:16) gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Linux 4.4.0-22-generic gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nodebb/nodebb/node_modules/nodebb-plugin-import/node_modules/iconv gyp ERR! node -v v4.5.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

contextify@0.1.15 install /home/nodebb/nodebb/node_modules/nodebb-plugin-import/node_modules/bbcode-to-markdown/node_modules/to-markdown/node_modules/jsdom/node_modules/contextify node-gyp rebuild

gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11 gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:16) gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Linux 4.4.0-22-generic gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nodebb/nodebb/node_modules/nodebb-plugin-import/node_modules/bbcode-to-markdown/node_modules/to-markdown/node_modules/jsdom/node_modules/contextify gyp ERR! node -v v4.5.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Linux 4.4.0-22-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "nodebb-plugin-import" npm ERR! node v4.5.0 npm ERR! npm v2.15.9 npm ERR! code ELIFECYCLE

npm ERR! iconv@2.2.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iconv@2.2.1 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the iconv package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iconv npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls iconv npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/nodebb/nodebb/npm-debug.log

akhoury commented 8 years ago

gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

I think you need to install python. Sorry about that :/ I am refactoring this plugin in the near future and I will get rid of a lot of these dependencies.

PVasili commented 6 years ago

Same proble..
The module is not installed. Any progress with this error???

akhoury commented 6 years ago

@PVasili can you share your error log please?