Failed to install Granite.js into Node.js | Community
Skip to main content
October 16, 2015
Solved

Failed to install Granite.js into Node.js

  • October 16, 2015
  • 4 replies
  • 1200 views

Hi,

I tried to install Granite.js into node.js using npm, but the installation fails by running into an infinite loop. The slash symbol is rotating for ever!

I used following command: sudo npm install "path to the folder".

I checked the .npm folder and compared it with the folder node_modules of Granite.js . The module node-mk is missing.

In the README of node-mk, I found the information that you need node-gyp (https://github.com/TooTallNate/node-gyp) to install node-mk.  I also installed it, but next attempt ended with same result: Infinite loop.

NPM version: 1.4.21 / MAC

Granite.js: 0.0.1for Mac x64 from the Package Share

How to install Granite.js with npm?

Kind Regards

Patrick

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Lastly have you installed GraphicksMagick [1] for image processing? 

I have got this working by directly working with developer & not used github copy. So not sure it is up to date & also read me refer to our internal document which you guys do not have access.   Can you please provide the reference where you seen granite.js is released for public so that I can followup internally?


[1]   brew install graphicsmagick

4 replies

Sham_HC
Level 10
October 16, 2015

Have you installed python, make, and C/C++ ?

October 16, 2015

Yes, all three are installed!

Python: 2.7.5

Make: GNU Make 3.81

C/C++: 4.2.1 / XCode 5.1.1

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Lastly have you installed GraphicksMagick [1] for image processing? 

I have got this working by directly working with developer & not used github copy. So not sure it is up to date & also read me refer to our internal document which you guys do not have access.   Can you please provide the reference where you seen granite.js is released for public so that I can followup internally?


[1]   brew install graphicsmagick

October 16, 2015

Graphicsmagick (version 1.3.15) is installed on my system, but gm isn't exposed to the variable PATH of MacOSX.

To your question about public release: I send you an private message with the link.

Patrick