Spaces:
Build error
Build error
fix
Browse files
backend/functions/.puppeteerrc.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
const {join} = require('path');
|
| 2 |
|
| 3 |
let config = {};
|
| 4 |
if (!process.env.FUNCTIONS_EMULATOR) {
|
|
|
|
| 1 |
+
const { join } = require('path');
|
| 2 |
|
| 3 |
let config = {};
|
| 4 |
if (!process.env.FUNCTIONS_EMULATOR) {
|
backend/functions/package.json
CHANGED
|
@@ -18,11 +18,10 @@
|
|
| 18 |
"from-preset": "npm run build && npm run emu:reset && npm run emu:start",
|
| 19 |
"start": "npm run shell",
|
| 20 |
"deploy": "firebase deploy --only functions",
|
| 21 |
-
"logs": "firebase functions:log"
|
| 22 |
-
"gcp-build": "node node_modules/puppeteer/install.mjs"
|
| 23 |
},
|
| 24 |
"engines": {
|
| 25 |
-
"node": "
|
| 26 |
},
|
| 27 |
"main": "build/index.js",
|
| 28 |
"dependencies": {
|
|
|
|
| 18 |
"from-preset": "npm run build && npm run emu:reset && npm run emu:start",
|
| 19 |
"start": "npm run shell",
|
| 20 |
"deploy": "firebase deploy --only functions",
|
| 21 |
+
"logs": "firebase functions:log"
|
|
|
|
| 22 |
},
|
| 23 |
"engines": {
|
| 24 |
+
"node": "18"
|
| 25 |
},
|
| 26 |
"main": "build/index.js",
|
| 27 |
"dependencies": {
|