From 14be5d1345912d17c7f0db0e267838d093d0339a Mon Sep 17 00:00:00 2001 From: canoziia Date: Wed, 8 Nov 2023 14:08:58 +0800 Subject: [PATCH] fix ts-node error(do not use it) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 80374ef..af29808 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "wechat-bot", - "version": "1.4.3", + "version": "1.10.5", "description": "a wechat bot using wechaty", "main": "dist/main.js", "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "ts-node --esm app/main.ts", + "start": "node dist/main.js", "build": "tsc" }, "repository": {