Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Dev Tools, how can I switch from Console to Diract? Or, in other words, how can I execute step 5 of the Quick Start Guide? #100

Open
pdelfino opened this issue Aug 28, 2022 · 0 comments

Comments

@pdelfino
Copy link

Hi,

I am trying to run Dirac. After some problems (see here and here) and some help from people on the web, apparently, the installation was somewhat sucessfull.

I thought everything was fine, see the outputs from the terminal below:

Pedros-MacBook-Air:~ pedro$ dirac
Downloading: org/clojure/clojurescript/maven-metadata.xml from central
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.passes, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.passes.uniquify, being replaced by: #'clojure.tools.analyzer.utils/update-vals
Located Chromium executable at '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'.
Detected Chromium version '107.0.5266.0'
Resolved matching Dirac release as '1.7.2'
Downloading Dirac release from 'https://github.com/binaryage/dirac/releases/download/v1.7.2/dirac-1.7.2.zip'
10545478/10545478   100% [==================================================]  ETA: 00:00
Matching Dirac release is located at '/Users/pedro/.dirac/silo/v/1.7.2'
Preparing playground environment at '/Users/pedro/.dirac/playground'
Compiling playground project...
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isOpera at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isIE at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isEdge at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isFirefox at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isSafari at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isCoast at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 32 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/util.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 23 /Users/pedro/.dirac/playground/.compiled/dirac/runtime/repl.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 13 /Users/pedro/.dirac/playground/.compiled/devtools/async.cljs
WARNING: Use of undeclared Var goog.labs.userAgent.browser/isChrome at line 17 /Users/pedro/.dirac/playground/.compiled/devtools/formatters.cljs
Starting playground HTTP server on port 9112
Booting Dirac Agent...
Starting nREPL server v0.8.3 on port 36180
Dirac Agent v1.7.2
Connected to nREPL server at nrepl://localhost:36180.
Agent is accepting connections at ws://localhost:36181.
Launching Chromium [with --user-data-dir='/Users/pedro/.dirac/chromium/profiles/default'] ...
objc[8925]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x226c9db50) and /Applications/Google Chrome Canary.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/107.0.5266.0/Libraries/libGLESv2.dylib (0x1067b40d0). One of the two will be used. Which one is undefined.

I was following the Quick Start guide here. Unfortunately, I am having problems on step 5:

  1. in DevTools switch to Console => Dirac prompt should enter dirac.playground and let you type in cljs code

How can I switch from Console to Dirac?

I tried the following:

image

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant