How to run node-theseus

64 views
Skip to first unread message

Pete Reeves

unread,
Jul 12, 2014, 10:27:45 AM7/12/14
to theseus...@googlegroups.com
I'm having a fundamental problem running node-theseus. 
I've installed it with npm, but I don't get what should be running, as there's no exe to locate.

ie. I type "node-theseus myapp.js" and I just get
 'node-theseus' is not recognized as an internal or external command, operable program or batch file.

 

Joel Brandt

unread,
Jul 12, 2014, 11:11:56 AM7/12/14
to Pete Reeves, theseus...@googlegroups.com
Hi Pete,

Did you install node-theseus globally? In other words, did you run "npm install -g npde-theseus"?

If you prefer to install it locally, (without the -g parameter) then the binary will be at "node_modules/.bin/node-theseus" inside the directory where you ran npm install.

So, if you prefer a local install, you should be able to do the following (from the directory that contains "myapp.js")

npm install node-theseus
node_modules/.bin/node-theseus myapp.js

Hope that helps!
-- Joel


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

Pete Reeves

unread,
Jul 12, 2014, 11:56:25 AM7/12/14
to theseus...@googlegroups.com, peteb...@gmail.com
Hi Jo,
Thanks for the quick reply. I didn't appreciate what -g did, and yes that has solved my problem.
Pete.
Reply all
Reply to author
Forward
0 new messages