oakes / play-cljc

A Clojure and ClojureScript game library
The Unlicense
541 stars 13 forks source link

New project exception on chrome #9

Open Ondra09 opened 5 years ago

Ondra09 commented 5 years ago

After installing clj -A:dev dev.clj and starting new server it throws this exception in chrome:


    at play_cljc$gl$core$call_uniform_STAR_ (core.js:299)
    at play_cljc$gl$core$call_uniform (core.js:349)
    at Function.G__11281__2 [as cljs$core$IFn$_invoke$arity$2] (core.js:15010)
    at core.js:8113
    at Function.cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3 (core.js:8114)
    at cljs.core.PersistentArrayMap.cljs$core$IReduce$_reduce$arity$3 (core.js:24014)
    at Function.cljs.core._reduce.cljs$core$IFn$_invoke$arity$3 (core.js:2303)
    at Function.cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 (core.js:8186)
    at cljs$core$reduce (core.js:8150)
    at play_cljc$gl$core$compile (core.js:606)
console.js:203  [goog.net.WebSocket] Opening the WebSocket on ws://localhost:9500/figwheel-connect?fwprocess=a35698&fwbuild=dev&fwsid=4ca38184-77cd-4bed-8492-8e9931579371
console.js:203  [goog.net.WebSocket] WebSocket opened on ws://localhost:9500/figwheel-connect?fwprocess=a35698&fwbuild=dev&fwsid=4ca38184-77cd-4bed-8492-8e9931579371
console.js:203  [Figwheel REPL] Session ID: 4ca38184-77cd-4bed-8492-8e9931579371
console.js:203  [Figwheel REPL] Session Name: Jose```

Version 67.0.3396.99 (Official Build) (64-bit)
System Debian: 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
oakes commented 5 years ago

Was there anything more to the error above this? I don't see any actual error message.

Ondra09 commented 5 years ago

oh, I am sorry it got clipped somehow:


3core.js:299 Uncaught TypeError: Failed to execute 'uniformMatrix3fv' on 'WebGL2RenderingContext': No function was found that matched the signature provided.
    at play_cljc$gl$core$call_uniform_STAR_ (core.js:299)
    at play_cljc$gl$core$call_uniform (core.js:349)
    at Function.G__11281__2 [as cljs$core$IFn$_invoke$arity$2] (core.js:15010)
    at core.js:8113
    at Function.cljs.core.iter_reduce.cljs$core$IFn$_invoke$arity$3 (core.js:8114)
    at cljs.core.PersistentArrayMap.cljs$core$IReduce$_reduce$arity$3 (core.js:24014)
    at Function.cljs.core._reduce.cljs$core$IFn$_invoke$arity$3 (core.js:2303)
    at Function.cljs.core.reduce.cljs$core$IFn$_invoke$arity$3 (core.js:8186)
    at cljs$core$reduce (core.js:8150)
    at play_cljc$gl$core$compile (core.js:606)
console.js:203  [goog.net.WebSocket] Opening the WebSocket on ws://localhost:9500/figwheel-connect?fwprocess=64c115&fwbuild=dev&fwsid=93fe0bed-16d7-4a0c-a870-16bcf7a8595a
console.js:203  [goog.net.WebSocket] WebSocket opened on ws://localhost:9500/figwheel-connect?fwprocess=64c115&fwbuild=dev&fwsid=93fe0bed-16d7-4a0c-a870-16bcf7a8595a
console.js:203  [Figwheel REPL] Session ID: 93fe0bed-16d7-4a0c-a870-16bcf7a8595a
console.js:203  [Figwheel REPL] Session Name: Abdul
util.cljs:136 CLJS DevTools: some custom formatters were not rendered.
https://github.com/binaryage/cljs-devtools/blob/master/docs/faq.md#why-some-custom-formatters-were-not-rendered
devtools$util$check_custom_formatters_active_BANG_ @ util.cljs:136
oakes commented 5 years ago

Strange...do all play-cljc projects fail for you this way, including the examples?

Ondra09 commented 5 years ago

I haven't tried them, I will do it at evening. In Firefox everything works fine btw.

Ondra09 commented 5 years ago

Ok, so super-koalio & dungeon crawler have exactly the same issue. UI demo is not working for me and I really have to leave.

oakes commented 5 years ago

Ah the UI demo actually requires a different command to build the frontend, as shown in its readme, because it needs a native dependency to render the font. But anyway, it sounds like this is a general issue with chrome on linux. I don't have a linux VM handy but I'll keep this issue open until we figure out what's going on.