I am using Clojure, ClojureScript, shadow-cljs, Emacs, Cider, and Lein to develop a web app project.
The web application has been successfully built. I can access the interface on http://localhost:3005/.
Yesterday, everything was working fine. After…
I am new to Clojure and not a pro in Javascript. I am watching the free part of the course on Reagent.
Following the instructions on the course's repo, after doing the git clone and the npm install, the author indicates running $ npm run dev.…
I'm getting the below error when I try to import "ant-design-pro": "^2.3.2" and use it in my ShadowCLJS project.
The required JS dependency "./factoryWithThrowingShims" is not available, it was required by…
How do i host the browser build?
I do not get it, i run:
npx shadow-cljs release app
npm start?
node app.js is wrong
I cannot launch app.js in the browser. What am i doing wrong?
My shadow-cljs.edn looks like this:
{:source-paths ["src"]
…
this error occurs when running electron progam with clojruescript and shadow-cljs
node version 16
electron 17 or 19 - both fail
clojurescript 11.1.4
shadow-cljs 2.18.0
shadow-cljs - failed to load module$node_modules$electron$index
SHADOW import…
I'm trying to use react-bootstrap within re-frame project. I've installed react-bootstrap with
npm install react-bootstrap
and using its components like the following:
(:require
;; ...
["react-bootstrap/Button" :as Button]
;; ...
(defn…
Can I write frontend (reagent) and backend (express.js) applications in a same clojurescript project?
Following these two pages.
Writing Node.js applications in Clojure and using NPM packages Backend (express.js)
shadow-cljs Frontend (reagent,…
I have a build pipeline that that takes ClojureScript code and transpiles that down to Javascript using Shadow-Cljs. The transpile can export a npm module or a node library.
The output is then passed through Webpack with Babel loader to polyfill for…
I'm creating an application which can be used to make an overview of your IT-Landscape. Currently it can show a table with the interfaces in your environment and their connected applications. It is also capable of creating an SVG image from this…
I'm getting this error message when I compile code for production and deploy to server but not getting it locally. I'm stumped as to why I can't re-produce locally
Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
at E…
For example, I have an index.html for the project.
I'd like that whenever I build the project, it's automatically copied to the public project. Is there a built-in way to achieve this?
I'm very new to the cljs. I'm practicing the cljs with re-frame. I faced an issue to access a method of js instance.
(->> quill-contents
(.parse js/JSON)
(.setContents @editor))
If I tried to call .setContents of @editor which is the js…
When using Shadow CLJS inside a Docker container (using WSL2 on Windows 10 as the Docker host), where the source files are mounted into the container via the Docker interface, it doesn't seem to detect changes in the files and recompile.
Shadow CLJS…
I would like to get hotcode reload to work on Windows wsl2 in emacs/cider using shadow-cljs (it doesn't work with shell shadow-cljs watch command in the terminal as well).
I should say oddly 1 in every couple of tries using it it will actually run…