GithubHelp home page GithubHelp logo

Comments (6)

drewr avatar drewr commented on May 30, 2024

This was an issue with my leiningen versions. I thought I had moved lein2 out of the way but I hadn't.

from clojurescript-lua.

raph-amiard avatar raph-amiard commented on May 30, 2024

Hi !

It seems that it is a classpath problem, but i have trouble seeing
what may trigger it. What version of leiningen do you use ? This may
be related

2012/8/1, Drew Raines
[email protected]:

There seems to be some issue with the clojurescript init process:

 % ./cljslua repl
 Installing necessary components for cljs-lua
 Getting clojurescript ...
 Cloning into clojurescript...
 Compiling clojurescript into a jar ..
 Branch lua-workbranch set up to track remote branch lua-workbranch from

origin.
Switched to a new branch 'lua-workbranch'
Cleaning up ..
Success !
Exception in thread "main" java.io.FileNotFoundException: Could not
locate cljs/analyzer__init.class or cljs/analyzer.clj on classpath:
at clojure.lang.RT.load(RT.java:432)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:482)
at
cljs.lua.compiler$eval11$loading__4784__auto____12.invoke(compiler.clj:1)
at cljs.lua.compiler$eval11.invoke(compiler.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6511)
at clojure.lang.Compiler.eval(Compiler.java:6501)
at clojure.lang.Compiler.load(Compiler.java:6952)
at clojure.lang.RT.loadResourceScript(RT.java:359)
at clojure.lang.RT.loadResourceScript(RT.java:350)
at clojure.lang.RT.load(RT.java:429)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:512)
at cljs.lua.repl$eval5$loading__4784__auto____6.invoke(repl.clj:1)
at cljs.lua.repl$eval5.invoke(repl.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6511)
at clojure.lang.Compiler.eval(Compiler.java:6501)
at clojure.lang.Compiler.load(Compiler.java:6952)
at clojure.lang.RT.loadResourceScript(RT.java:359)
at clojure.lang.RT.loadResourceScript(RT.java:350)
at clojure.lang.RT.load(RT.java:429)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$require.doInvoke(core.clj:5381)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at user$eval1.invoke(cljslua.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6511)
at clojure.lang.Compiler.load(Compiler.java:6952)
at clojure.lang.Compiler.loadFile(Compiler.java:6912)
at clojure.main$load_script.invoke(main.clj:283)
at clojure.main$script_opt.invoke(main.clj:343)
at clojure.main$main.doInvoke(main.clj:427)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:419)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
% jar tvf libclojurescript.jar | grep analy
39858 Wed Aug 01 10:21:32 CDT 2012 clj/cljs/analyzer.clj


Reply to this email directly or view it on GitHub:
#2

Raphaël AMIARD

from clojurescript-lua.

raph-amiard avatar raph-amiard commented on May 30, 2024

ok thanks drew, glad that this is fixed

from clojurescript-lua.

paulrd avatar paulrd commented on May 30, 2024

I have the same issue as drewr had. I'm using lein2. I only get this error with lein-cljsbuild 0.2.2 and above. 0.2.1 does not give me this error. Is lein2 no longer supported?

from clojurescript-lua.

raph-amiard avatar raph-amiard commented on May 30, 2024

Hi paul. This issue shouldn't arise anymore, because the current head of the git repo doesn't depend on lein anymore, but instead use officials ClojureScript builds. Could you

  1. make sure you're using the last update of the git repo
  2. send me your error

from clojurescript-lua.

raph-amiard avatar raph-amiard commented on May 30, 2024

Well, in the absence of answer, i'll re-close this issue. Feel free to comment again.

from clojurescript-lua.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.