Change the .env credentials to that of .local.env still the same error
$ firebase deploy --only "functions,firestore:rules,storage"
! functions: package.json indicates an outdated version of firebase-functions.
Please upgrade using npm install --save firebase-functions@latest in your functions directory.
=== Deploying to 'onevara-courses-dev'...
i deploying storage, firestore, functions
There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.
Error: HTTP Error: 404, Could not find Application "onevara-courses-dev".
firebase deploy -P onevara-courses-dev
=== Deploying to 'onevara-courses-dev'...
i deploying storage, firestore, functions, hosting
There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.
Error: HTTP Error: 404, Could not find Application "onevara-courses-dev".
Collection
Nodejs API
Cypress
yarn e2e courses-e2e
Billing
Errors
1 Uncaught TypeError
Uncaught TypeError: data.sort is not a function
at push../routes/homepage/Learn.tsx.__webpack_exports__.default (/main.js:8811)
at renderWithHooks (/vendor.js:115827)
at updateFunctionComponent (/vendor.js:118198)
at beginWork (/vendor.js:119905)
at HTMLUnknownElement.callCallback (/vendor.js:104787)
at Object.invokeGuardedCallbackDev (/vendor.js:104836)
at invokeGuardedCallback (/vendor.js:104898)
at beginWork$1 (/vendor.js:124801)
at performUnitOfWork (/vendor.js:123616)
at workLoopSync (/vendor.js:123544)
from scratch using the error boundary you provided, ErrorBoundary. logCapturedError @ vendor.js:120927
vendor.js:120927 The above error occurred in one of your React components:
at push../routes/homepage/Learn.tsx.__webpack_exports__.default (https://onevara-education.web.app/main.js:8803:3)
at push.../../../libs/shared/util-page/src/index.tsx.__webpack_exports__.default (https://onevara-education.web.app/main.js:366:5)
at div
at https://onevara-education.web.app/vendor.js:31696:73
at RouteWrapper (https://onevara-education.web.app/main.js:9275:13)
at D (https://onevara-education.web.app/vendor.js:132094:673)
at E (https://onevara-education.web.app/vendor.js:132097:804)
at Suspense
at SuspenseWithPerf (https://onevara-education.web.app/vendor.js:136028:23)
at x (https://onevara-education.web.app/vendor.js:132096:23)
at App (https://onevara-education.web.app/main.js:607:85)
at ErrorBoundary (https://onevara-education.web.app/vendor.js:58213:47)
at ErrorBoundary (https://onevara-education.web.app/main.js:1962:1)
at SEOProvider (https://onevara-education.web.app/main.js:359:3)
at ColorModeProvider (https://onevara-education.web.app/vendor.js:2997:5)
at ThemeProvider (https://onevara-education.web.app/vendor.js:31730:71)
at ChakraProvider (https://onevara-education.web.app/vendor.js:17385:5)
at r (https://onevara-education.web.app/vendor.js:129077:5327)
at FirebaseAppProvider (https://onevara-education.web.app/vendor.js:135615:32)
at WrappedApp
3 Can't perform a React state update
vendor.js:100909 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
at push../routes/homepage/Learn.tsx.__webpack_exports__.default (https://onevara-education.web.app/main.js:8803:3)
at push.../../../libs/shared/util-page/src/index.tsx.__webpack_exports__.default (https://onevara-education.web.app/main.js:366:5)
at div
at https://onevara-education.web.app/vendor.js:31696:73
at RouteWrapper (https://onevara-education.web.app/main.js:9275:13)
at D (https://onevara-education.web.app/vendor.js:132094:673)
at E (https://onevara-education.web.app/vendor.js:132097:804)
at Suspense
at SuspenseWithPerf (https://onevara-education.web.app/vendor.js:136028:23)
at x (https://onevara-education.web.app/vendor.js:132096:23)
at App (https://onevara-education.web.app/main.js:607:85)
4 Signup or signin error
This is due to development server using .local.env and pinging with development projectId.