Hi Bernie, I think you're folliowing this tutorial, right? https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-01.md
... I learned from this tutorial a while ago but the syntax for leiningen has changed since, and while the community has tried to keep the tutorial up to date, there are a few outdated commands here and there:"lein new modern-cljs" needs to be changed to "lein new app modern-cljs", it's possible there are a few other outdated bits elsewhere. If you find something open an issue so others can take a look into it. Also, avoid using folder structures which contain non-alphanumeric characters on Windows. I can't tell why but using "C:\Functional_Languages\Clojure\clojurescript_master\!work" as folder didn't work for me but "C:\Functional_Languages\modern-cljs" did. I gave the tutorial a try on a VM with Windows 7; I copied the project.clj, the directory list and the output from running "lein cljsbuild once" on this public gist: https://gist.github.com/dfuenzalida/55c6df8517fe6d6ef795 Regards, Denis El lunes, 20 de julio de 2015, 16:57:58 (UTC-7), Bernie Baillargeon escribió: > > two things got me past this....well, just the first, but I hit another > immediately > these may be rising from the newer (latest) versions of leiningen, > clojure, and clojurescript. > 1) the online tutorial I was working with had me creating project modern > *-*cljs. I changed the *hyphen *to *underscore *and the 'lein cljsbuild' > *kicked > off*... > but the template created by the *lein new *... caused an error "*wrong > number of parameters*" > 2) *had to remove one set of parens* around the 'defproject' (it'd had > two outer paren sets) > > thanks for the ref to the online book, am working through that as well. > > On Monday, July 20, 2015 at 2:35:06 PM UTC-5, Colin Yates wrote: >> >> You don’t need to manage either of those JARs. Can you create a public >> github to share? >> >> Also, there is a new book which people are raving about (haven’t read it >> myself) that might be just the ticket: >> http://funcool.github.io/clojurescript-unraveled/ >> >> HTH, if not, please create a public github project. >> >> On 20 Jul 2015, at 19:52, Bernie Baillargeon <bb....@gmail.com> wrote: >> >> No, that doesn’t fix it (I’d added the hook as a one shot attempt based >> on other online discussions related, but forgot to remove) >> >> After removing it still gives the same error. >> >> Am I missing some basic lein/clojure prep step? I’d gotten the cljs.jar >> and leiningen-2.5.1-standalone.jar into the project directory, had run >> 'lein compile' at the project directory (as well as having not done 'lein >> compile' prior to ‘lein cljsbuild once’ ) and I’m not seeing any change… >> >> >> On Monday, July 20, 2015 at 1:33:07 PM UTC-5, Colin Yates wrote: >>> >>> Is that hook valid? That looks wrong to me - try removing the hooks >>> section and doing it manually from the command line. >>> >>> On 20 Jul 2015, at 19:02, Bernie Baillargeon <bb....@gmail.com> wrote: >>> >>> no, I have the plugin specified: >>> ;; CLJ AND CLJS source code path >>> :source-paths ["src/clj" "src/cljs"] >>> :dependencies [[org.clojure/clojure "1.7.0"] >>> [org.clojure/clojurescript "0.0-3308"]] >>> ;; lein-cljsbuild plugin to build a CLJS project >>> :plugins [[lein-cljsbuild "1.0.6"]] >>> :hooks [leiningen.cljsbuild] >>> >>> >>> >>> On Monday, July 20, 2015 at 3:28:01 AM UTC-5, juvenn wrote: >>>> >>>> Hi Bernie, please have a look at project.clj, where you might be >>>> missing plugin lein-cljsbuild >>>> https://github.com/emezeske/lein-cljsbuild >>>> >>>> -- >>>> Juvenn Woo >>>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig> >>>> >>>> On Monday, 20 July, 2015 at 12:12 pm, Bernie Baillargeon wrote: >>>> >>>> I followed the instructions to add the proper dependencies, plugins to >>>> the project, but upon entering >>>> > lein cljsbuild once >>>> as noted in every online doc/ tutorial related, I get the error >>>> C:\Functional_Languages\Clojure\clojurescript_master\!work\modern-cljs>lein >>>> >>>> cljsbuild once >>>> 'cljsbuild' is not a task. See 'lein help'. >>>> what can I do to figure out the issue; where might there be something >>>> not set correctly? >>>> thanks >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Clojure" group. >>>> To post to this group, send email to clo...@googlegroups.com >>>> Note that posts from new members are moderated - please be patient with >>>> your first post. >>>> To unsubscribe from this group, send email to >>>> clojure+u...@googlegroups.com >>>> For more options, visit this group at >>>> http://groups.google.com/group/clojure?hl=en >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Clojure" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to clojure+u...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clo...@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to clojure+u...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.