Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup fails using latest node/npm/bower #23

Closed
tcrs opened this issue Mar 21, 2014 · 1 comment
Closed

Setup fails using latest node/npm/bower #23

tcrs opened this issue Mar 21, 2014 · 1 comment

Comments

@tcrs
Copy link

tcrs commented Mar 21, 2014

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.
G:\nodejs>node --version
v0.10.26

G:\nodejs>grunt --version
grunt-cli v0.1.13

G:\nodejs>bower --version
1.3.1

FYI I've also tried the install on Linux and had exactly the same issues.

Let me know if you need any more information.

@tcrs
Copy link
Author

tcrs commented Mar 24, 2014

Can confirm that this is solved now, install runs correctly. Thanks :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants