I do the following steps to install Laverna on Windows:
download the latest node.js windows installer and install in g:/nodejs then do:
cd g:/nodejs
npm install -g grunt bower
git clone https://github.com/Laverna/laverna.git
cd laverna
npm install
bower install
grunt build
There are two problems:
The repository URLs in bower.json use the git:// protocol. This hangs my bower install as it is waiting for me to type 'yes' into the SSH prompt "The authenticity of host 'github.com' can't be established.". I guess I have some old github RSA key in my known_hosts (or someone is doing a MITM on my github SSH...). It's not obvious at the time why the bower install is hung though. I fixed this by just swapping all the repo URLs for the equivalent https:// ones.
The bower install of device.js seems to be broken in some way. The grunt build command fails because the requirejs task can't find app/bower_components/device.js/lib/device.min.js. I "solved" this by just git cloning the appropriate repo into bower_components. This is a terrible hack, but I have no idea why bower is not installing the expected files.
I do the following steps to install Laverna on Windows: download the latest node.js windows installer and install in
g:/nodejs
then do:There are two problems:
bower.json
use thegit://
protocol. This hangs my bower install as it is waiting for me to type 'yes' into the SSH prompt "The authenticity of host 'github.com' can't be established.". I guess I have some old github RSA key in my known_hosts (or someone is doing a MITM on my github SSH...). It's not obvious at the time why the bower install is hung though. I fixed this by just swapping all the repo URLs for the equivalenthttps://
ones.device.js
seems to be broken in some way. Thegrunt build
command fails because therequirejs
task can't findapp/bower_components/device.js/lib/device.min.js
. I "solved" this by just git cloning the appropriate repo intobower_components
. This is a terrible hack, but I have no idea why bower is not installing the expected files.FYI I've also tried the install on Linux and had exactly the same issues.
Let me know if you need any more information.