From 94dd662c402721f8da362f6c1a0c0bb396f0b610 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Tue, 29 Apr 2025 04:00:15 +0800 Subject: [PATCH] fix: module not found "net/getVideoInfo.ts" --- packages/core/deno.json | 3 ++- packages/crawler/mq/task/getVideoStats.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/deno.json b/packages/core/deno.json index 350449e..252ddba 100644 --- a/packages/core/deno.json +++ b/packages/core/deno.json @@ -9,6 +9,7 @@ "mq/": "./mq/", "chalk": "npm:chalk", "winston": "npm:winston", - "logform": "npm:logform" + "logform": "npm:logform", + "@core/": "./" } } diff --git a/packages/crawler/mq/task/getVideoStats.ts b/packages/crawler/mq/task/getVideoStats.ts index 3455d93..e09599c 100644 --- a/packages/crawler/mq/task/getVideoStats.ts +++ b/packages/crawler/mq/task/getVideoStats.ts @@ -1,5 +1,5 @@ import { Client } from "https://deno.land/x/postgres@v0.19.3/mod.ts"; -import { getVideoInfo } from "net/getVideoInfo.ts"; +import { getVideoInfo } from "@core/net/getVideoInfo.ts"; import logger from "log/logger.ts"; export interface SnapshotNumber {