This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-08
Channels
- # announcements (5)
- # aws (15)
- # babashka (7)
- # beginners (138)
- # bristol-clojurians (2)
- # chlorine-clover (11)
- # cider (9)
- # clara (4)
- # clj-kondo (17)
- # cljsrn (20)
- # clojars (1)
- # clojure (73)
- # clojure-europe (17)
- # clojure-italy (1)
- # clojure-nl (9)
- # clojure-spec (4)
- # clojure-uk (9)
- # clojurescript (43)
- # data-science (1)
- # datomic (87)
- # emacs (2)
- # figwheel-main (30)
- # fulcro (71)
- # helix (2)
- # hugsql (4)
- # jackdaw (5)
- # jobs (3)
- # jobs-discuss (31)
- # juxt (5)
- # kaocha (6)
- # lein-figwheel (16)
- # leiningen (1)
- # luminus (4)
- # malli (2)
- # meander (54)
- # music (8)
- # nrepl (12)
- # observability (28)
- # off-topic (85)
- # pathom (11)
- # re-frame (99)
- # reitit (9)
- # ring (1)
- # rum (6)
- # sci (11)
- # shadow-cljs (102)
- # sql (22)
- # tools-deps (10)
- # vim (65)
- # xtdb (14)
I am trying to create a figwheel project (for the first time in ages) to run under IntelliJ with Cursive and following the instructions there. I failed pretty quickly on the npm install
:
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/kennethtilton/.nvm/versions/node/v7.10.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:308:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command “/Users/kennethtilton/.nvm/versions/node/v7.10.1/bin/node” “/Users/kennethtilton/.nvm/versions/node/v7.10.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /Users/kennethtilton/jammo/node_modules/fsevents
gyp ERR! node -v v7.10.1
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
npm WARN jammo No repository field.
npm WARN jammo No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
It says “optional”. Should I just ignore this, or start googling node-gyp? 🙂 My npm --version is 4.2.0, and npm update
finds nothing to do. Any suggestions?🙏
I ignored it and continued with the rest of the directions, all seems well. 🎉 But will this eventually bite me?
@U0PUGPSFR I don’t know, it seems like there is something up with your node install. nothing wrong with using nvm to install a new version the latest stable version is 12 something
@U0PUGPSFR also you can create a template that doesn’t use npm
Thx, @U064J0EFR! Not using npm sounds like heaven. Me and node do not get along! I will start over with +no-bundle. 🙏
@U0PUGPSFR also you may want to try out figwheel-main …
Ah, yes, figwheel-main, it is all coming back to me. Thx again!
Hmm, so I was whining about none of the music repos offering examples when I noticed further down on the cljs-bach readme that I could run an example that ships with it. This still looks like it might be a figwheel issue:
Exception in thread "main" java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/middleware/interruptible_eval__init.class or clojure/tools/nrepl/middleware/interruptible_eval.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name., compiling:(figwheel_sidecar/repl.clj:1:1)
This looks like a not recently maintained repo. Is this just bit rot? I did do lein deps
first and that ended without complaint.
OK, thx. I will just examine the source of the example, that should get me going. Thx! 🙏