Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Affects versions: 1.10.238
    • Fix versions: None
    • Labels:
      None

      Description

      I have a problem with a simple require

      (ns repro.pg-ns
        (:require pg))
      

      Repro is here: https://github.com/arichiardi/cljs-pg-error

      The error is the classic Caused by: clojure.lang.ExceptionInfo: No such namespace: pg, could not locate pg.cljs, pg.cljc, or JavaScript source providing "pg" in file src/repro/pg_ns.cljs

      and my compiler options look like:

      {:main 'repro.pg-ns
       :output-to "out/pg-ns.js"
       :output-dir "out"
       :optimizations :none
       :source-map true
       :source-map-timestamp false
       :target :nodejs
       :install-deps true
       :npm-deps {:pg "7.4.1"}}
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arichiardi Andrea Richiardi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: