gnl / playback Goto Github PK
View Code? Open in Web Editor NEWEasier-than-print dataflow tracing to tap> and Portal with automatic last-input function replay on eval, instant re-render and effortless extraction of traced data
License: Other
Easier-than-print dataflow tracing to tap> and Portal with automatic last-input function replay on eval, instant re-render and effortless extraction of traced data
License: Other
Tried to add playback to my project as instructed. Removed Debux and explicitly added:
[org.clojure/clojurescript "1.11.132"]
[org.clojure/clojure "1.11.1"]
Still, I'm getting the error:
File: jar:file:/home/german/.m2/repository/com/github/gnl/playback/0.5.4/playback-0.5.4.jar!/playback/core.cljc
failed to require macro-ns "playback.core", it was required by "playback.core"
Error in phase :compile-syntax-check
RuntimeException: No such var: server/as-channel
Whee, first issue! Just wanted to let you know:
I added [com.github.gnl/playback "0.3.9"]
to the project.clj of a Clojure-only project, and when I require the preload ns from the REPL, I get this error:
user> (require 'playback.preload)
Syntax error (ClassNotFoundException) compiling . at (cljs/externs.clj:135:17).
org.kohsuke.args4j.CmdLineException
If I add the preload ns to the requires of my user.clj file and send it to the REPL, I get a slightly different error:
user> (ns user
(:require [clojure.pprint]
...
[playback.preload]))
Syntax error compiling at (cljs/env.cljc:9:1).
namespace 'cljs.externs' not found
(unsurprisingly I don't have an externs file, and don't have cljs or any related libs in project.clj)
#>(+ 1 1)
works and shows results in portal window.
(inc #><[])
give error in repl, Execution error (NullPointerException) at gbo.vendor.batson.sku-match/eval72379 (REPL:71). Cannot invoke "Object.getClass()" because "x" is null
and doesnt show anything in portal window.
playback.core
requires portal.web
if it's running under cljs: https://github.com/gnl/playback/blob/master/src/playback/core.cljc#L20. This immediately crashes nodejs runtime as it's missing the window global.
There needs to be some alternative that allows to use portal.web
even in cljs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.