Created
November 25, 2013 20:07
-
-
Save worldofchris/7647926 to your computer and use it in GitHub Desktop.
Blow up when running noflo-graphviz against the example from http://noflojs.org/documentation/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Install GraphViz | |
chris@ubuntu:~/src$ sudo apt-get install graphviz | |
[sudo] password for chris: | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
libcdt4 libcgraph5 libgraph4 libgvc5 libgvpr1 libpathplan4 ttf-liberation | |
Suggested packages: | |
graphviz-doc | |
The following NEW packages will be installed: | |
graphviz libcdt4 libcgraph5 libgraph4 libgvc5 libgvpr1 libpathplan4 ttf-liberation | |
0 upgraded, 8 newly installed, 0 to remove and 295 not upgraded. | |
Need to get 1,196 kB of archives. | |
After this operation, 3,386 kB of additional disk space will be used. | |
Do you want to continue [Y/n]? Y | |
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring/main libcdt4 amd64 2.26.3-14ubuntu1 [24.3 kB] | |
Get:2 http://us.archive.ubuntu.com/ubuntu/ raring/main libcgraph5 amd64 2.26.3-14ubuntu1 [50.5 kB] | |
Get:3 http://us.archive.ubuntu.com/ubuntu/ raring/main libgraph4 amd64 2.26.3-14ubuntu1 [36.1 kB] | |
Get:4 http://us.archive.ubuntu.com/ubuntu/ raring/main libpathplan4 amd64 2.26.3-14ubuntu1 [29.4 kB] | |
Get:5 http://us.archive.ubuntu.com/ubuntu/ raring/main libgvc5 amd64 2.26.3-14ubuntu1 [507 kB] | |
Get:6 http://us.archive.ubuntu.com/ubuntu/ raring/main libgvpr1 amd64 2.26.3-14ubuntu1 [207 kB] | |
Get:7 http://us.archive.ubuntu.com/ubuntu/ raring/main graphviz amd64 2.26.3-14ubuntu1 [339 kB] | |
Get:8 http://us.archive.ubuntu.com/ubuntu/ raring/main ttf-liberation all 1.07.2-6ubuntu1 [3,270 B] | |
Fetched 1,196 kB in 18s (63.5 kB/s) | |
Selecting previously unselected package libcdt4. | |
(Reading database ... 159701 files and directories currently installed.) | |
Unpacking libcdt4 (from .../libcdt4_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package libcgraph5. | |
Unpacking libcgraph5 (from .../libcgraph5_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package libgraph4. | |
Unpacking libgraph4 (from .../libgraph4_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package libpathplan4. | |
Unpacking libpathplan4 (from .../libpathplan4_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package libgvc5. | |
Unpacking libgvc5 (from .../libgvc5_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package libgvpr1. | |
Unpacking libgvpr1 (from .../libgvpr1_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package graphviz. | |
Unpacking graphviz (from .../graphviz_2.26.3-14ubuntu1_amd64.deb) ... | |
Selecting previously unselected package ttf-liberation. | |
Unpacking ttf-liberation (from .../ttf-liberation_1.07.2-6ubuntu1_all.deb) ... | |
Processing triggers for man-db ... | |
Processing triggers for fontconfig ... | |
Setting up libcdt4 (2.26.3-14ubuntu1) ... | |
Setting up libcgraph5 (2.26.3-14ubuntu1) ... | |
Setting up libgraph4 (2.26.3-14ubuntu1) ... | |
Setting up libpathplan4 (2.26.3-14ubuntu1) ... | |
Setting up libgvc5 (2.26.3-14ubuntu1) ... | |
Setting up libgvpr1 (2.26.3-14ubuntu1) ... | |
Setting up graphviz (2.26.3-14ubuntu1) ... | |
Setting up ttf-liberation (1.07.2-6ubuntu1) ... | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
chris@ubuntu:~/src$ | |
# 2. Install noflo-graphviz | |
chris@ubuntu:~/src$ sudo npm install -g noflo-graphviz | |
npm http GET https://registry.npmjs.org/noflo | |
npm http GET https://registry.npmjs.org/graphviz | |
npm http GET https://registry.npmjs.org/underscore | |
npm http 304 https://registry.npmjs.org/noflo | |
npm http 304 https://registry.npmjs.org/graphviz | |
npm http 304 https://registry.npmjs.org/underscore | |
npm http GET https://registry.npmjs.org/temp | |
npm http GET https://registry.npmjs.org/cli | |
npm http GET https://registry.npmjs.org/shell | |
npm http GET https://registry.npmjs.org/read-installed | |
npm http GET https://registry.npmjs.org/cli-color | |
npm http GET https://registry.npmjs.org/npmlog | |
npm http GET https://registry.npmjs.org/coffee-script | |
npm http 304 https://registry.npmjs.org/temp | |
npm http 304 https://registry.npmjs.org/read-installed | |
npm http 304 https://registry.npmjs.org/shell | |
npm http 304 https://registry.npmjs.org/npmlog | |
npm http 200 https://registry.npmjs.org/coffee-script | |
npm http 304 https://registry.npmjs.org/cli-color | |
npm http 304 https://registry.npmjs.org/cli | |
npm http GET https://registry.npmjs.org/slide | |
npm http GET https://registry.npmjs.org/semver | |
npm http GET https://registry.npmjs.org/read-package-json | |
npm http GET https://registry.npmjs.org/graceful-fs | |
npm http GET https://registry.npmjs.org/ansi | |
npm http GET https://registry.npmjs.org/glob | |
npm http GET https://registry.npmjs.org/memoizee | |
npm http GET https://registry.npmjs.org/es5-ext | |
npm http GET https://registry.npmjs.org/each | |
npm http GET https://registry.npmjs.org/pad | |
npm http GET https://registry.npmjs.org/optimist | |
npm http 304 https://registry.npmjs.org/slide | |
npm http 304 https://registry.npmjs.org/read-package-json | |
npm http 304 https://registry.npmjs.org/graceful-fs | |
npm http 304 https://registry.npmjs.org/semver | |
npm http GET https://registry.npmjs.org/glob | |
npm http GET https://registry.npmjs.org/lru-cache | |
npm http GET https://registry.npmjs.org/normalize-package-data | |
npm http 304 https://registry.npmjs.org/glob | |
npm http 304 https://registry.npmjs.org/memoizee | |
npm http 304 https://registry.npmjs.org/es5-ext | |
npm http 304 https://registry.npmjs.org/each | |
npm http GET https://registry.npmjs.org/minimatch | |
npm http GET https://registry.npmjs.org/inherits | |
npm http GET https://registry.npmjs.org/event-emitter | |
npm http GET https://registry.npmjs.org/next-tick | |
npm http 304 https://registry.npmjs.org/pad | |
npm http 304 https://registry.npmjs.org/optimist | |
npm http 304 https://registry.npmjs.org/glob | |
npm http 304 https://registry.npmjs.org/lru-cache | |
npm http GET https://registry.npmjs.org/wordwrap | |
npm http GET https://registry.npmjs.org/minimist | |
npm http 304 https://registry.npmjs.org/normalize-package-data | |
npm http 304 https://registry.npmjs.org/minimatch | |
npm http 304 https://registry.npmjs.org/inherits | |
npm http 304 https://registry.npmjs.org/event-emitter | |
npm http 304 https://registry.npmjs.org/next-tick | |
npm http GET https://registry.npmjs.org/sigmund | |
npm http 304 https://registry.npmjs.org/wordwrap | |
npm http 304 https://registry.npmjs.org/minimist | |
npm http GET https://registry.npmjs.org/github-url-from-git | |
npm http 304 https://registry.npmjs.org/ansi | |
npm http 304 https://registry.npmjs.org/sigmund | |
npm http 304 https://registry.npmjs.org/github-url-from-git | |
/usr/local/bin/noflo-graphviz -> /usr/local/lib/node_modules/noflo-graphviz/bin/noflo-graphviz | |
[email protected] /usr/local/lib/node_modules/noflo-graphviz | |
├── [email protected] | |
├── [email protected] ([email protected]) | |
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) | |
chris@ubuntu:~/src$ | |
# 3. Run it against the example: | |
chris@ubuntu:~/src$ noflo-graphviz noflo-example/graphs/ShowContents.fbp | |
module.js:337 | |
throw new Error("Cannot find module '" + request + "'"); | |
^ | |
Error: Cannot find module 'emitter' | |
at Function._resolveFilename (module.js:337:11) | |
at Function._load (module.js:279:25) | |
at Module.require (module.js:359:17) | |
at require (module.js:375:17) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo/lib/Graph.js:9:20) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo/lib/Graph.js:438:4) | |
at Module._compile (module.js:446:26) | |
at Object..js (module.js:464:10) | |
at Module.load (/home/chris/src/noflo-example/node_modules/noflo-filesystem/node_modules/noflo/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36) | |
at Function._load (module.js:311:12) | |
at Module.require (module.js:359:17) | |
at require (module.js:375:17) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo/lib/NoFlo.js:2:19) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo/lib/NoFlo.js:74:4) | |
at Module._compile (module.js:446:26) | |
at Object..js (module.js:464:10) | |
at Module.load (/home/chris/src/noflo-example/node_modules/noflo-filesystem/node_modules/noflo/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36) | |
at Function._load (module.js:311:12) | |
at Module.require (module.js:359:17) | |
at require (module.js:375:17) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo-core/components/Output.coffee:6:11) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo-core/components/Output.coffee:83:4) | |
at Module._compile (module.js:446:26) | |
at Object.<anonymous> (/home/chris/src/noflo-example/node_modules/noflo-filesystem/node_modules/noflo/node_modules/coffee-script/lib/coffee-script/coffee-script.js:182:19) | |
at Module.load (/home/chris/src/noflo-example/node_modules/noflo-filesystem/node_modules/noflo/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36) | |
at Function._load (module.js:311:12) | |
at Module.require (module.js:359:17) | |
at require (module.js:375:17) | |
at ComponentLoader.load (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:177:24) | |
at /usr/local/lib/node_modules/noflo-graphviz/bin/noflo-graphviz:125:33 | |
at Array.forEach (native) | |
at /usr/local/lib/node_modules/noflo-graphviz/bin/noflo-graphviz:123:24 | |
at /usr/local/lib/node_modules/noflo-graphviz/bin/noflo-graphviz:79:14 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:129:16 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/underscore/underscore.js:718:21 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:149:18 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:42:16 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/underscore/underscore.js:718:21 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:80:16 | |
at ComponentLoader.getModuleComponents (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:83:16) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/lib/ComponentLoader.js:143:22 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:118:5 | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at cb (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:48:11) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:234:14 | |
at asyncMap (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/node_modules/slide/lib/async-map.js:27:18) | |
at next (/usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:200:5) | |
at /usr/local/lib/node_modules/noflo-graphviz/node_modules/noflo/node_modules/read-installed/read-installed.js:157:7 | |
at Array.LOOP [as 0] (fs.js:942:16) | |
at EventEmitter._tickCallback (node.js:190:39) | |
chris@ubuntu:~/src$ cd noflo-example/ | |
chris@ubuntu:~/src/noflo-example$ ls | |
graphs node_modules package.json | |
# Here is the example running ok. | |
chris@ubuntu:~/src/noflo-example$ ./node_modules/.bin/noflo graphs/ShowContents.fbp | |
{ | |
"name": "my-noflo-example-app", | |
"version": "0.0.1", | |
"dependencies": { | |
"noflo": "~0.4.2", | |
"noflo-filesystem": "~1.0.2", | |
"noflo-core": "~0.1.3" | |
}, | |
"noflo": { | |
"graphs": { | |
"ShowContents": "./graphs/ShowContents.fbp" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment