'Firebase functions deploy errors
I've deployed firebase deploy in cmd console. but error has occured several times. I already tried these things:
- Changing
%RESOURCE_DIR%in firebase.json file - Tried
--fixcode in console
Below is error code. plz help me T,T
Oops! Something went wrong! :(
ESLint: 8.13.0
D:\momenting\momenting\gameChat\functions\.eslintrc.js:14
{
^
SyntaxError: Unexpected token '{'
at new Script (node:vm:100:7)
at NativeCompileCache._moduleCompile (D:\momenting\momenting\gameChat\functions\node_modules\v8-compile-cache\v8-compile-cache.js:240:18)
at Module._compile (D:\momenting\momenting\gameChat\functions\node_modules\v8-compile-cache\v8-compile-cache.js:184:36)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Object.module.exports [as default] (D:\momenting\momenting\gameChat\functions\node_modules\import-fresh\index.js:32:59)
at loadJSConfigFile (D:\momenting\momenting\gameChat\functions\node_modules\@eslint\eslintrc\dist\eslintrc.cjs:2559:47)
at loadConfigFile (D:\momenting\momenting\gameChat\functions\node_modules\@eslint\eslintrc\dist\eslintrc.cjs:2643:20)
Error: functions predeploy error: Command terminated with non-zero exit code2
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
