-1

Within a \projects directory I followed the instructions on the dagre-d3 Github page and typed $ npm install dagre-d3. Then I entered the $ make command as per the build instructions. Nothing happened. The error message make: ** No targets specified and no makefile found. Stop. shows. I made create a Makefile from the Github repository and when $ make is run the error is make: ** No rule to make target 'browser.js', needed by 'build/dagre-d3.js'. Stop..

I've never used npm before but my guess is that the code author left out some file using .npmignore

gaitat
  • 12,449
  • 4
  • 52
  • 76
Adam S
  • 509
  • 10
  • 24

1 Answers1

2

Those are two alternative methods of installation, first uses npm only whereas the second uses building from source (also needs npm), requires you to download the git repository and then run make from inside the downloaded repository root.

user568109
  • 47,225
  • 17
  • 99
  • 123
  • I finally discovered that. However, Windows throws up when running the Makefile even with GNU make and Cygwin installed. It's probably time to figure out Ubuntu or buy a mac. – Adam S Dec 11 '13 at 22:07