Giter Club home page Giter Club logo

Comments (7)

ckirkendall avatar ckirkendall commented on July 28, 2024

Change the version in your project.clj to 2.0-SNAPSHOT. The namespaces
were broken out in 2.X. I am working on putting together the alpha release
this weekend.

Creighton Kirkendall

On Mon, Jul 15, 2013 at 6:13 PM, gzmask [email protected] wrote:

WARNING: 2 error(s), 0 warning(s)
ERROR: JSC_MISSING_PROVIDE_ERROR. required "enfocus.effects" namespace
never provided at
/Volumes/CAT_Archive_1of2/Users/gzmask/projects/rich-invoice/target/cljsbuild-compiler-0/app/core.js
line 3 : 0
ERROR: JSC_MISSING_PROVIDE_ERROR. required "enfocus.events" namespace
never provided at
/Volumes/CAT_Archive_1of2/Users/gzmask/projects/rich-invoice/target/cljsbuild-compiler-0/app/core.js
line 4 : 0

Code:
https://github.com/richever/rich-invoice


Reply to this email directly or view it on GitHubhttps://github.com//issues/53
.

from enfocus.

gzmask avatar gzmask commented on July 28, 2024

Thanks for quick reply!

I've changed to 2.0.0-snapshot. only core can be used. effects and events are still giving me errors:
Compiling "js/app.js" failed.
clojure.lang.ExceptionInfo: failed compiling file:cljs/app/core.cljs
core.clj:4327 clojure.core/ex-info
compiler.clj:891 cljs.compiler/compile-file
compiler.clj:953 cljs.compiler/compile-root
closure.clj:398 cljs.closure/compile-dir
closure.clj:430 cljs.closure/eval1956[fn]
closure.clj:299 cljs.closure/eval1883[fn]
closure.clj:444 cljs.closure/eval1943[fn]
closure.clj:299 cljs.closure/eval1883[fn]
compiler.clj:43 cljsbuild.compiler.SourcePaths/fn
core.clj:2485 clojure.core/map[fn]
LazySeq.java:42 clojure.lang.LazySeq.sval
LazySeq.java:60 clojure.lang.LazySeq.seq
RT.java:484 clojure.lang.RT.seq
core.clj:133 clojure.core/seq
core.clj:617 clojure.core/apply
core.clj:2514 clojure.core/mapcat
RestFn.java:423 clojure.lang.RestFn.invoke
compiler.clj:43 cljsbuild.compiler/cljsbuild.compiler.SourcePaths
closure.clj:955 cljs.closure/build
compiler.clj:57 cljsbuild.compiler/compile-cljs[fn]
compiler.clj:56 cljsbuild.compiler/compile-cljs
compiler.clj:140 cljsbuild.compiler/run-compiler
NO_SOURCE_FILE:1 user/eval2273[fn]
LazySeq.java:42 clojure.lang.LazySeq.sval
LazySeq.java:60 clojure.lang.LazySeq.seq
RT.java:484 clojure.lang.RT.seq
core.clj:133 clojure.core/seq
core.clj:2780 clojure.core/dorun
core.clj:2796 clojure.core/doall
NO_SOURCE_FILE:1 user/eval2273
Compiler.java:6619 clojure.lang.Compiler.eval
Compiler.java:6609 clojure.lang.Compiler.eval
Compiler.java:6582 clojure.lang.Compiler.eval
core.clj:2852 clojure.core/eval
main.clj:308 clojure.main/eval-opt
main.clj:327 clojure.main/initialize
main.clj:362 clojure.main/null-opt
main.clj:440 clojure.main/main
RestFn.java:421 clojure.lang.RestFn.invoke
Var.java:419 clojure.lang.Var.invoke
AFn.java:163 clojure.lang.AFn.applyToHelper
Var.java:532 clojure.lang.Var.applyTo
main.java:37 clojure.main.main
Caused by: clojure.lang.ExceptionInfo: Assert failed: Only :refer-clojure, :require, :require-macros, :use and :use-macros libspecs supported
(#{:import :use-macros :require-macros :require :use} k) at line 1 cljs/app/core.cljs
core.clj:4327 clojure.core/ex-info
analyzer.clj:128 cljs.analyzer/error
analyzer.clj:933 cljs.analyzer/analyze-seq
analyzer.clj:989 cljs.analyzer/analyze
analyzer.clj:980 cljs.analyzer/analyze
compiler.clj:822 cljs.compiler/compile-file*
compiler.clj:888 cljs.compiler/compile-file
Caused by: java.lang.AssertionError: Assert failed: Only :refer-clojure, :require, :require-macros, :use and :use-macros libspecs supported
(#{:import :use-macros :require-macros :require :use} k)
analyzer.clj:697 cljs.analyzer/eval394[fn]
protocols.clj:143 clojure.core.protocols/fn
protocols.clj:19 clojure.core.protocols/fn[fn]
protocols.clj:31 clojure.core.protocols/seq-reduce
protocols.clj:54 clojure.core.protocols/fn
protocols.clj:13 clojure.core.protocols/fn[fn]
core.clj:6177 clojure.core/reduce
analyzer.clj:703 cljs.analyzer/eval394[fn]
MultiFn.java:241 clojure.lang.MultiFn.invoke
analyzer.clj:935 cljs.analyzer/analyze-seq

from enfocus.

ckirkendall avatar ckirkendall commented on July 28, 2024

Somehow you are getting enfocus 1.x on your classpath. What version of
lein are you using? Make sure enfocus 1.x is removed from your project lib
folder and if you still have problems delete the entire enfocus directory
in your .m2/repo.

CK

On Tue, Jul 16, 2013 at 4:50 PM, gzmask [email protected] wrote:

Thanks for quick reply!

I've changed to 2.0.0-snapshot. only core can be used. effects and events
are still giving me errors:
Compiling "js/app.js" failed.
clojure.lang.ExceptionInfo: failed compiling file:cljs/app/core.cljs
core.clj:4327 clojure.core/ex-info
compiler.clj:891 cljs.compiler/compile-file
compiler.clj:953 cljs.compiler/compile-root
closure.clj:398 cljs.closure/compile-dir
closure.clj:430 cljs.closure/eval1956[fn]
closure.clj:299 cljs.closure/eval1883[fn]
closure.clj:444 cljs.closure/eval1943[fn]
closure.clj:299 cljs.closure/eval1883[fn]
compiler.clj:43 cljsbuild.compiler.SourcePaths/fn
core.clj:2485 clojure.core/map[fn]
LazySeq.java:42 clojure.lang.LazySeq.sval
LazySeq.java:60 clojure.lang.LazySeq.seq
RT.java:484 clojure.lang.RT.seq
core.clj:133 clojure.core/seq
core.clj:617 clojure.core/apply
core.clj:2514 clojure.core/mapcat
RestFn.java:423 clojure.lang.RestFn.invoke
compiler.clj:43 cljsbuild.compiler/cljsbuild.compiler.SourcePaths
closure.clj:955 cljs.closure/build
compiler.clj:57 cljsbuild.compiler/compile-cljs[fn]
compiler.clj:56 cljsbuild.compiler/compile-cljs
compiler.clj:140 cljsbuild.compiler/run-compiler
NO_SOURCE_FILE:1 user/eval2273[fn]
LazySeq.java:42 clojure.lang.LazySeq.sval
LazySeq.java:60 clojure.lang.LazySeq.seq
RT.java:484 clojure.lang.RT.seq
core.clj:133 clojure.core/seq
core.clj:2780 clojure.core/dorun
core.clj:2796 clojure.core/doall
NO_SOURCE_FILE:1 user/eval2273
Compiler.java:6619 clojure.lang.Compiler.eval
Compiler.java:6609 clojure.lang.Compiler.eval
Compiler.java:6582 clojure.lang.Compiler.eval
core.clj:2852 clojure.core/eval
main.clj:308 clojure.main/eval-opt
main.clj:327 clojure.main/initialize
main.clj:362 clojure.main/null-opt
main.clj:440 clojure.main/main
RestFn.java:421 clojure.lang.RestFn.invoke
Var.java:419 clojure.lang.Var.invoke
AFn.java:163 clojure.lang.AFn.applyToHelper
Var.java:532 clojure.lang.Var.applyTo
main.java:37 clojure.main.main
Caused by: clojure.lang.ExceptionInfo: Assert failed: Only :refer-clojure,
:require, :require-macros, :use and :use-macros libspecs supported
(#{:import :use-macros :require-macros :require :use} k) at line 1
cljs/app/core.cljs
core.clj:4327 clojure.core/ex-info
analyzer.clj:128 cljs.analyzer/error
analyzer.clj:933 cljs.analyzer/analyze-seq
analyzer.clj:989 cljs.analyzer/analyze
analyzer.clj:980 cljs.analyzer/analyze
compiler.clj:822 cljs.compiler/compile-file*
compiler.clj:888 cljs.compiler/compile-file
Caused by: java.lang.AssertionError: Assert failed: Only :refer-clojure,
:require, :require-macros, :use and :use-macros libspecs supported
(#{:import :use-macros :require-macros :require :use} k)
analyzer.clj:697 cljs.analyzer/eval394[fn]
protocols.clj:143 clojure.core.protocols/fn
protocols.clj:19 clojure.core.protocols/fn[fn]
protocols.clj:31 clojure.core.protocols/seq-reduce
protocols.clj:54 clojure.core.protocols/fn
protocols.clj:13 clojure.core.protocols/fn[fn]
core.clj:6177 clojure.core/reduce
analyzer.clj:703 cljs.analyzer/eval394[fn]
MultiFn.java:241 clojure.lang.MultiFn.invoke
analyzer.clj:935 cljs.analyzer/analyze-seq


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-21072639
.

from enfocus.

gzmask avatar gzmask commented on July 28, 2024

I am using lein 2.2.0 on java 1.6.0 with osx 10.8

I tried http://ckirkendall.github.io/enfocus-site/ with 1.0.1 and things has been working.

I guess the readme.md documentation and 2.0.0-snapshot needs some work.

For now I'll stick with 1.0.1

from enfocus.

ckirkendall avatar ckirkendall commented on July 28, 2024

@gzmask
I have quite a few people using 2.0.0-SNAPSHOT and I have not heard any
issues with the readme. The namespaces should be present in the 2.X
release. If I do have something wrong I would love some help figuring it
out. Is it possible for you to crack open the 2.0.0-SNAPSHOT in your local
repo and make sure that clj files for effect.clj and events.clj are in
there? I had some issues with clojars getting a corrupted file awhile ago
but I believe those issues are resolved. The enfocus-site does not work
with 2.0.0-SNAPSHOT, I am currently working on a new documentation site for
2.X.

CK

On Tue, Jul 16, 2013 at 5:15 PM, gzmask [email protected] wrote:

I am using lein 2.2.0 on java 1.6.0 with osx 10.8

I tried http://ckirkendall.github.io/enfocus-site/ with 1.0.1 and things
has been working.

I guess the readme.md documentation and 2.0.0-snapshot needs some work.

For now I'll stick with 1.0.1


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-21074533
.

from enfocus.

ckirkendall avatar ckirkendall commented on July 28, 2024

On another note you can use the enfocus-template now to create a new project for 2.0.0-SHAPSHOT. This setup has been validated to work. Just execute the following commands:

lein new enfocus-template my-project
cd my-project
lein cljsbuild once
lein ring server

from enfocus.

gzmask avatar gzmask commented on July 28, 2024

thanks ckirkendall. I found out that I was naming the enfocus.events as events where I was using event in my code. Enfocus 2.0.0 is fully working.

from enfocus.

Related Issues (20)

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.