This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-08
Channels
- # 100-days-of-code (4)
- # aws (1)
- # beginners (69)
- # business (1)
- # calva (1)
- # cider (10)
- # cljdoc (1)
- # cljs-dev (7)
- # clojure (49)
- # clojure-dev (4)
- # clojure-italy (2)
- # clojure-nl (11)
- # clojure-russia (2)
- # clojure-spec (7)
- # clojure-uk (64)
- # clojurescript (18)
- # clojurex (1)
- # core-async (11)
- # cursive (22)
- # datascript (7)
- # datomic (45)
- # editors (6)
- # emacs (7)
- # events (1)
- # fulcro (20)
- # graphql (1)
- # jobs (18)
- # jobs-discuss (132)
- # leiningen (2)
- # nyc (5)
- # off-topic (6)
- # onyx (2)
- # pedestal (3)
- # re-frame (8)
- # remote-jobs (6)
- # ring-swagger (2)
- # shadow-cljs (64)
- # specter (2)
- # tools-deps (4)
- # unrepl (1)
- # yada (3)
@vigilancetech you could not use .hl files and have no problems with compiling them. That's how I was using hoplon.
Hi. I seem to have run into issues with more recent versions of AWS amplify. Using aws-amplify-react 2.0.7 and shadow 2.6.10
requiring this ["aws-amplify-react" :refer [Authenticator]]
causes this:
The required JS dependency "babel-runtime/helpers/extends" is not available, it was required by "node_modules/aws-amplify-react/dist/AmplifyUI.js".
Searched in:/Users/ErichOliphant/Documents/projects/sqd/node_modules
You probably need to run:
npm install babel-runtime/helpers/extends
The transpiled AmplifyUI.js has the following
...
var _extends2 = require('babel-runtime/helpers/extends');
But the babel runtime package has the preceding @ in node_modules which I presume is the problem. Why can't everyone just use clojurescript.. Ugh...@eoliphant this might just be a version conflict. check if node_modules/babel-runtime
exists?
but the old version should still be installed, just might be getting installed in a nested folder?
npm WARN [email protected] requires a peer of aws-amplify@^1.x but none is installed. You must install peer dependencies yourself.
they have you create this seed file with the scripts and dev deps first, then you install amplify but in any case will try just installing babel-runtime by hand
THEN check if node_modules/aws-amplify-react/node_modules/babel-runtime
exists and is not empty
ah no I didn't lol. ugh. Been working for about 18 hrs straight probably time for a break. I only did amplify-react..
but hmm that didn't help
there's still no node_modules/babel-runtime
And the only thing under node_modules/aws-amplify-react/node_modules
is regenerator-runtime
whatever that is
@thheller yeah that infinite loop seems to fit the description of what i was seeing - thanks
Hey I'm also having this problem again (https://github.com/thheller/shadow-cljs/issues/228) pulling in auth0-js with :default or :as results in a nil symbol
@eoliphant their minified packaging seems to do really weird stuff to the code that may trip up the closure compiler
shadow.js.js:88 Uncaught TypeError: Cannot read property 'lib' of undefined
at auth0.min.js:9
at auth0.min.js:9
at createCommonjsModule (auth0.min.js:9)
at auth0.min.js:9
at auth0.min.js:9
at Object.shadow$provide.module$node_modules$auth0_js$dist$auth0_min (auth0.min.js:9)
at Object.shadow.js.jsRequire (shadow.js.js:85)
at Object.shadow.js.require (shadow.js.js:111)
at sqd.ui.components.auth0.js:5