diff --git a/exporter/package.json b/exporter/package.json index 7cb209e46b..776d48582a 100644 --- a/exporter/package.json +++ b/exporter/package.json @@ -28,7 +28,7 @@ "ws": "^8.18.3" }, "scripts": { - "clear:shadow-cache": "rm -rf .shadow-cljs", + "clear:shadow-cache": "rm -rf .shadow-cljs && rm -rf target", "watch:app": "clojure -M:dev:shadow-cljs watch main", "watch": "yarn run clear:shadow-cache && yarn run watch:app", "build:app": "clojure -M:dev:shadow-cljs release main", diff --git a/exporter/src/app/handlers/resources.cljs b/exporter/src/app/handlers/resources.cljs index 85fc174e56..8d78f861ae 100644 --- a/exporter/src/app/handlers/resources.cljs +++ b/exporter/src/app/handlers/resources.cljs @@ -7,9 +7,9 @@ (ns app.handlers.resources "Temporal resources management." (:require - ["archiver" :as arc] - ["fs" :as fs] - ["path" :as path] + ["archiver$default" :as arc] + ["node:fs" :as fs] + ["node:path" :as path] [app.common.exceptions :as ex] [app.common.uuid :as uuid] [app.util.mime :as mime]