                   ;; didn't even know that was allowed but node seems to resolve this
                   ;; by looking at the package and picking the main
                   ;; so we mimick that
-                  (find-package-require npm (-> file (.getCanonicalFile) (.getName)))
+                  (find-package-require npm (-> file (absolute-file) (.getName)))
                   )))
 
           :else

               (util/is-relative? override))
          (let [override-file
                (-> (io/file package-dir override)
                    (.getCanonicalFile))]

            (when-not (.exists override-file)
              (throw (ex-info "override to file that doesn't exist"


        project-dir
        (-> (io/file "")
            (absolute-file))

        node-modules-dir
        (if (seq node-modules-dir)
          (-> (io/file node-modules-dir)
              (absolute-file))
          (io/file project-dir "node_modules"))]

    {::service true
