当我在 :foreign-libs/:file 中配置了 URL(通过构建选项或 deps.cljs)时,我会得到 FileNoteFoundException。
URL 示例:https:/raw.githubusercontent.com/mrdoob/three.js/dev/examples/js/controls/OrbitControls.js
错误日志
- 未处理的 java.io.FileNotFoundException
6 /home/shark/git/apps/https:/raw.githubusercontent.com/mrdoob/three.js/dev/examples/js/controls/OrbitControls.js
7 (No such file or directory)
8
9 FileInputStream.java: -2 java.io.FileInputStream/open0
10 FileInputStream.java: 195 java.io.FileInputStream/open
11 FileInputStream.java: 138 java.io.FileInputStream/
12 io.clj: 238 clojure.java.io/fn
13 io.clj: 235 clojure.java.io/fn
14 io.clj: 69 clojure.java.io/fn/G
15 io.clj: 165 clojure.java.io/fn
16 io.clj: 69 clojure.java.io/fn/G
18 io.clj: 102 clojure.java.io/reader
19 io.clj: 86 clojure.java.io/reader
20 RestFn.java: 410 clojure.lang.RestFn/invoke
21 closure.clj: 422 cljs.closure/eval7540/fn
22 js_deps.cljc: 121 cljs.js_deps$eval2733$fn2756$G27242765/invoke
23 closure.clj: 418 cljs.closure/eval7540/fn
24 js_deps.cljc: 121 cljs.js_deps$eval2733$fn2756$G27242765/invoke
25 closure.clj: 1723 cljs.closure/write-javascript
26 closure.clj: 1699 cljs.closure/write-javascript
27 closure.clj: 1748 cljs.closure/source-on-disk
28 closure.clj: 1743 cljs.closure/source-on-disk
29 closure.clj: 2604 cljs.closure/build/fn
30 core.clj: 2646 clojure.core/map/fn
31 LazySeq.java: 40 clojure.lang.LazySeq/sval
32 LazySeq.java: 49 clojure.lang.LazySeq/seq
33 Cons.java: 39 clojure.lang.Cons/next
34 RT.java: 688 clojure.lang.RT/next
35 core.clj: 64 clojure.core/next
36 core.clj: 3033 clojure.core/dorun
37 core.clj: 3039 clojure.core/doall
38 closure.clj: 2604 cljs.closure/build
40 closure.clj: 2507 cljs.closure/build
41 api.clj: 205 cljs.build.api/build
42 api.clj: 189 cljs.build.api/build
43 api.clj: 192 cljs.build.api/build
44 api.clj: 189 cljs.build.api/build
45 REPL: 62 apps.cljs-rt-browser/-main