From 9d0d54e511e9869f02f2767d33da09739d082ce1 Mon Sep 17 00:00:00 2001 From: "yanlong.wang" Date: Thu, 11 Apr 2024 19:00:27 +0800 Subject: [PATCH] fix --- backend/functions/.puppeteerrc.cjs | 2 +- backend/functions/package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/functions/.puppeteerrc.cjs b/backend/functions/.puppeteerrc.cjs index b6285cc..64284be 100644 --- a/backend/functions/.puppeteerrc.cjs +++ b/backend/functions/.puppeteerrc.cjs @@ -1,4 +1,4 @@ -const {join} = require('path'); +const { join } = require('path'); let config = {}; if (!process.env.FUNCTIONS_EMULATOR) { diff --git a/backend/functions/package.json b/backend/functions/package.json index b7c3371..78736f3 100644 --- a/backend/functions/package.json +++ b/backend/functions/package.json @@ -18,11 +18,10 @@ "from-preset": "npm run build && npm run emu:reset && npm run emu:start", "start": "npm run shell", "deploy": "firebase deploy --only functions", - "logs": "firebase functions:log", - "gcp-build": "node node_modules/puppeteer/install.mjs" + "logs": "firebase functions:log" }, "engines": { - "node": "20" + "node": "18" }, "main": "build/index.js", "dependencies": {