Trouble installing

Hi friends,

I have tried installing OpenFrame on a brand new Raspberry Pi 3, The first time I tried it took a few hours and then nothing, i ended up cancelling it because it wasn’t doing anything and trying to launch openframe from prompt did nothing.

The second time (after reinstalling Raspbian) it gets stuck again at a spinning |/- thing. Again after an hour and a half it had gone nowhere so I gave up from there as I do not know where to start in figuring out why it isnt working :frowning:

Is anybody able to help me out?

Hmm… that spinner is from NPM. Can you post the output up until the point where the never-ending spinner appears?

I’m also having trouble installing. I get a bunch of errors from npm, saying it can’t find openframe. Pretty weird. Any ideas?

Hmm. The especially weird thing is that it seems to be looking for openframe under the pi-gpio account (http://registry.npmjs.org/pi-gpio/openframe), which is obviously wrong. Are you installing via the install script, or trying to install openframe directly from NPM?

Thanks for the reply.

I just used the command from the setup page:

bash -c "$(curl http://openframe.io/install.sh)"

It all goes fine at the start, until you get to that point, then everything starts failing.

Is there a specific node or npm version required? It’s just a faily standard raspberrypi install, nothing fancy.

This is what I have?

$ node -v
v4.3.2
$ npm -v
2.14.12
$ npm config get registry
http://registry.npmjs.org/pi-gpio

Is that the wrong URL? I removed and reintsalled Node & NPM and this is still the result.

Here’s the full log if it helps.

bash -c “$(curl http://openframe.io/install.sh)”
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3558 100 3558 0 0 10887 0 --:–:-- --:–:-- --:–:-- 20448
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7766 100 7766 0 0 19469 0 --:–:-- --:–:-- --:–:-- 24811
=> nvm is already installed in /home/pi/.nvm, trying to update using git
=>
=> Source string already in /home/pi/.bashrc
=> Close and reopen your terminal to start using nvm
source nvm
install node
v4.3.2 is already installed.
Now using node v4.3.2 (npm v2.14.12)
install server utils
Reading package lists… Done
Building dependency tree
Reading state information… Done
x11-xserver-utils is already the newest version.
The following packages were automatically installed and are no longer required:
exo-utils fonts-roboto javascript-common libc-ares-dev libev-dev libexo-1-0 libexo-common libexo-helpers libgarcon-1-0 libgarcon-common libssl-dev libssl-doc
liburi-perl libv8-dev libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfconf-0-2 pipanel wwwconfig-common xfce-keyboard-shortcuts xfce4-mixer
xfce4-panel xfconf
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
install openframe
npm ERR! Linux 4.1.19+
npm ERR! argv “/home/pi/.nvm/versions/node/v4.3.2/bin/node” “/home/pi/.nvm/versions/node/v4.3.2/bin/npm” “install” “-g” “openframe@latest”
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/pi-gpio/openframe
npm ERR! 404
npm ERR! 404 ‘openframe’ 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/pi/npm-debug.log
install default format extensions
npm ERR! Linux 4.1.19+
npm ERR! argv “/home/pi/.nvm/versions/node/v4.3.2/bin/node” “/home/pi/.nvm/versions/node/v4.3.2/bin/npm” “install” “-g” “openframe-image@latest”
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/pi-gpio/openframe-image
npm ERR! 404
npm ERR! 404 ‘openframe-image’ 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/pi/npm-debug.log
npm ERR! Linux 4.1.19+
npm ERR! argv “/home/pi/.nvm/versions/node/v4.3.2/bin/node” “/home/pi/.nvm/versions/node/v4.3.2/bin/npm” “install” “-g” “openframe-glslviewer@latest”
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/pi-gpio/openframe-glslviewer
npm ERR! 404
npm ERR! 404 ‘openframe-glslviewer’ 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/pi/npm-debug.log
npm ERR! Linux 4.1.19+
npm ERR! argv “/home/pi/.nvm/versions/node/v4.3.2/bin/node” “/home/pi/.nvm/versions/node/v4.3.2/bin/npm” “install” “-g” “openframe-website@latest”
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/pi-gpio/openframe-website
npm ERR! 404
npm ERR! 404 ‘openframe-website’ 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/pi/npm-debug.log
npm ERR! Linux 4.1.19+
npm ERR! argv “/home/pi/.nvm/versions/node/v4.3.2/bin/node” “/home/pi/.nvm/versions/node/v4.3.2/bin/npm” “install” “-g” “openframe-video@latest”
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/pi-gpio/openframe-video
npm ERR! 404
npm ERR! 404 ‘openframe-video’ 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/pi/npm-debug.log
have you rotated your screen from default (normally landscape)? (y/n)
n

If you have changed your display rotation, you must restart the Pi by typing: sudo reboot

If not, you must run the following command: source ~/.bashrc

After restarting or reloading .bashrc, you can launch the frame by just typing:

openframe

Didn’t fix the problem, just went for the nuclear option, and did a fresh install of NOOBS.

It’s working now, thought quite slow on my Pi 1.

Good, glad you got it working — and yeah, it’s slow on the Pi 1.

In case others come across this, definitely something was odd with your NPM setup. The NPM registry should be https://registry.npmjs.org/, but your NPM was pointed at the pi-gpio account (http://registry.npmjs.org/pi-gpio). This means that NPM wasn’t able to find any of the openframe packages (or any other packages not released by pi-gpio, for that matter). Not sure how it got set that way, but you can set the registry using npm config set registry .