Answers for "error: functions@ lint: `tslint --project tsconfig.json`"

0

npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! functions@ lint: `tslint --project tsconfig.json`

Change the "firebase.json" file's "predeploy" section from this: 

 "functions": {
    "predeploy": [
      "npm --prefix "$RESOURCE_DIR" run lint",
      "npm --prefix "$RESOURCE_DIR" run build"
    ]
  },
  
To this:

 "functions": {
    "predeploy": [
      "npm --prefix "%RESOURCE_DIR%" run lint",
      "npm --prefix "%RESOURCE_DIR%" run build"
    ]
  }
Posted by: Guest on October-11-2020

Code answers related to "error: functions@ lint: `tslint --project tsconfig.json`"

Code answers related to "Javascript"

Browse Popular Code Answers by Language