Installing Tributary

29 views
Skip to first unread message

Mike Wolf

unread,
Jan 6, 2015, 8:46:40 PM1/6/15
to trib...@googlegroups.com
I took a swing at installing on my Linux Mint host.
I'll send you a pull request on the procedure once I'm up and running.
No problems, but the sequence could be clearer.

BUT

On the make step:
Error: Cannot find module 'CodeMirror'
make: *** [tributary.min.js] Error 1

I tried running the server anyway. It serves the main page just fine,  but then when I go to http://localhost:8888/inlet/
I get:
Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 1.0.0-rc.3) or downgrade your runtime to an older version (<= 1.0.rc.2).

Huh?


Also, get the following warnings when I npm install
npm WARN package.json Dependency 'handlebars' exists in both dependencies and devDependencies, using 'handl...@1.0.10' from dependencies
npm WARN engine connec...@0.1.9: wanted: {"node":"node >= 0.4.x"} (current: {"node":"0.10.26","npm":"2.1.3"})
awesome@awesome-mint:~/Apps/NewMULTI/tributary$ make >>out.txt

Also noted that handlbars is listed with two different rev numbers in the dependencies.

Here is my output from the make:

cat src/start.js src/core.js src/util.js src/code.js src/config.js src/main.js src/context.js src/editor.js src/gist.js src/batch.js src/parser.js src/plugin.js src/end.js | ./node_modules/uglify-js/bin/uglifyjs -b -i 2 -nm -ns > static/tributary.js
#./node_modules/uglify-js/bin/uglifyjs < static/tributary.js > static/tributary.min.js
#browserify -x  static/tributary.js -o static/tributary.min.js
./node_modules/.bin/browserify static/tributary.js -o static/tributary.min.js


Ian Johnson

unread,
Jan 8, 2015, 5:22:59 PM1/8/15
to Mike Wolf, trib...@googlegroups.com
That's unfortunate.

I'll try doing a fresh build myself soon.
It's strange that it cant find CodeMirror, it should be getting that from node modules.
having multiple handlebars dependencies is not cool, and we should probably upgrade to the new version.

were you able to get it working in the mean time?

--
You received this message because you are subscribed to the Google Groups "Tributary" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tributary+...@googlegroups.com.
Visit this group at http://groups.google.com/group/tributary.
For more options, visit https://groups.google.com/d/optout.



--
Ian Johnson - 周彦

Mike Wolf

unread,
Jan 12, 2015, 2:51:48 PM1/12/15
to trib...@googlegroups.com
Hey Ian,
Any progress on diagnosing the problem that I encountered?
I am doing all my work in a VM. If it would help you I could upload a copy of the VM somewhere and you could see what I am doing.
I am using VirtualBox but assume any VM manager would work fine.
With VBox, though, I could snapshot my environment at the point of failure and Zip it up and you could see exactly.
OTOH it should not be too hard to duplicate what I did.
Mike

--
You received this message because you are subscribed to a topic in the Google Groups "Tributary" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tributary/B8fQbbaqa-c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tributary+...@googlegroups.com.

Ian Johnson

unread,
Jan 12, 2015, 7:21:54 PM1/12/15
to Mike Wolf, trib...@googlegroups.com
Hi Mike,

I unfortunately havent had a chance to look at it. I'm preparing for a talk on Wednesday so I wont really have a chance till afterwards.
I should be able to reproduce it on a linux box myself.

--
You received this message because you are subscribed to the Google Groups "Tributary" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tributary+...@googlegroups.com.

Mike Wolf

unread,
Jan 22, 2015, 7:35:15 PM1/22/15
to trib...@googlegroups.com
I have found the cause of the installation problem and submitted a pull request
Mike

Ian Johnson

unread,
Jan 23, 2015, 2:33:42 PM1/23/15
to Mike Wolf, trib...@googlegroups.com
thanks for looking into this and figuring it out! i merged the PR.
you make a good point about checking in the generated files. i mainly did that so that i would be sure whats running on the server matches what worked locally. it should probably not be done that way and use another deployment process thats more robust but i just haven't thought about it enough.
any suggestions welcome!

--
You received this message because you are subscribed to the Google Groups "Tributary" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tributary+...@googlegroups.com.
Visit this group at http://groups.google.com/group/tributary.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages