Building a Cloud Function to run this application. This is needed due to:
• middleware
• non-static route /api/auth/[...nextauth]
• non-static route /api/config
• non-static route /api/hello
• non-static route /api/login
• and 64 other reasons, use --debug to see more
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'ehr-front...@0.1.0',
npm WARN EBADENGINE required: { node: '18' },
npm WARN EBADENGINE current: { node: 'v16.16.0', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'n...@10.2.0',
npm WARN EBADENGINE required: { node: '^18.17.0 || >=20.5.0' },
npm WARN EBADENGINE current: { node: 'v16.16.0', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN deprecated query...@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! code 2
npm ERR! path /home/pooja/Documents/asim/nextapp/.firebase/fir-authentication-300411/functions/node_modules/yarn
npm ERR! command failed
npm ERR! command /home/pooja/.cache/firebase/runtime/shell -c -- :; (node ./preinstall.js > /dev/null 2>&1 || true)
npm ERR! /bin/sh: 0: Illegal option --
Is there v18.17.1 available for deploying firebase for next js application