Content
You are here:
Cannot build on Raspberry PI 2
Added by Sergio Belkin almost 9 years ago
Hi,
I’ve tried to build OpenProject on Raspbian Jessie, following the instructions of https://www.openproject.org/open-source/download/manual-installation-guide/ but I couldn’t do it.
After npm install it outputs as follows:
PhantomJS not found on PATH Unexpected platform or architecture: linux/arm It seems there is no binary available for your platform/architecture Try to install PhantomJS globally npm ERR! Linux 4.1.19-v7+ npm ERR! argv "/home/openproject/.nodenv/versions/0.12.7/bin/node" "/home/openproject/.nodenv/versions/0.12.7/bin/npm" "install" npm ERR! node v0.12.7 npm ERR! npm v2.11.3 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! This is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/openproject/openproject-ce/frontend/npm-debug.log npm ERR! Linux 4.1.19-v7+ npm ERR! argv "/home/openproject/.nodenv/versions/0.12.7/bin/node" "/home/openproject/.nodenv/versions/0.12.7/bin/npm" "install" npm ERR! node v0.12.7 npm ERR! npm v2.11.3 npm ERR! code ELIFECYCLE npm ERR! openproject@0.1.0 postinstall: `cd frontend && npm install` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the openproject@0.1.0 postinstall script 'cd frontend && npm install'. npm ERR! This is most likely a problem with the openproject package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cd frontend && npm install npm ERR! You can get their info via: npm ERR! npm owner ls openproject npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/openproject/openproject-ce/npm-debug.log
And the result of npm owner ls openproject
is as follows:
npm ERR! owner ls Couldn't get owner data openproject npm ERR! Linux 4.1.19-v7+ npm ERR! argv "/home/openproject/.nodenv/versions/0.12.7/bin/node" "/home/openproject/.nodenv/versions/0.12.7/bin/npm" "owner" "ls" "openproject" npm ERR! node v0.12.7 npm ERR! npm v2.11.3 npm ERR! code E404 npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/openproject npm ERR! 404 npm ERR! 404 'openproject' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! Please include the following file with any support request: npm ERR! /home/openproject/openproject-ce/npm-debug.log
Any ideas? platform details:
uname -a Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
Thanks in advance!