From 85acc268fded9f43a9af2dfa3513803e96ef16e2 Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 28 Oct 2021 22:58:50 +0800 Subject: [PATCH] fix(create-nocobase-app): cannot find module 'sqlite3' --- .../templates/AppGenerator/package.json.tpl | 4 ++-- packages/server/package.json | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/create-nocobase-app/templates/AppGenerator/package.json.tpl b/packages/create-nocobase-app/templates/AppGenerator/package.json.tpl index e8bac2876..b535cf04f 100644 --- a/packages/create-nocobase-app/templates/AppGenerator/package.json.tpl +++ b/packages/create-nocobase-app/templates/AppGenerator/package.json.tpl @@ -27,8 +27,8 @@ ] }, "dependencies": { - {{#quickstart}}"sqlite3": "https://github.com/mapbox/node-sqlite3/tarball/master", - {{/quickstart}}"@nocobase/plugin-action-logs": "^{{{ version }}}", + "sqlite3": "https://github.com/mapbox/node-sqlite3/tarball/master", + "@nocobase/plugin-action-logs": "^{{{ version }}}", "@nocobase/plugin-china-region": "^{{{ version }}}", "@nocobase/plugin-client": "^{{{ version }}}", "@nocobase/plugin-collections": "^{{{ version }}}", diff --git a/packages/server/package.json b/packages/server/package.json index e92269c5d..fa99a7ec5 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -15,11 +15,7 @@ "dotenv": "^8.2.0", "koa": "^2.13.0", "koa-bodyparser": "^4.3.0", - "koa-static": "^5.0.0", - "mockjs": "^1.1.0", - "mysql2": "^2.1.0", - "pg": "^8.3.3", - "pg-hstore": "^2.3.3" + "koa-static": "^5.0.0" }, "gitHead": "e7df1f93c4e23b9a666d99ee7372c02bdaec97c4" }