问题描述
每次我尝试部署Firebase项目时,都会出现此错误。
Noahs-MBP-2:collegiateclubdb noahlindner$ firebase deploy
=== deploying to 'collegiateclubdb'...
i deploying database,functions,hosting
Running command: npm --prefix "$RESOURCE_DIR" run lint
npm ERR! missing script: lint
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/noahlindner/.npm/_logs/2020-10-28T21_04_05_375Z-debug.log
Error: functions predeploy error: Command terminated with non-zero exit code1
Noahs-MBP-2:collegiateclubdb noahlindner$
上面说的是,我已经安装了短绒棉布,并且包括了我的脚本
"scripts": {
"start": "react-scripts start","build": "react-scripts build","test": "react-scripts test","eject": "react-scripts eject","scripts": "eslint.js"
},
在执行firebase init
命令后,从未有人问过要使用默认的短毛绒
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)