Я пытаюсь развернуть свое приложение activjs с помощью firebase-cli, но у меня проблема с eslint-plugin-обещанием.Все время я пытаюсь выполнить «развертывание firebase» и получаю сообщение об ошибке, и приложение не развертывается.
Это ошибка, которую я получил:
Oops! Something went wrong! :(
ESLint: 4.14.0.
ESLint couldn't find the plugin "eslint-plugin-promise". This can happen for a couple different reasons:
1. If ESLint is installed globally, then make sure eslint-plugin-promise is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.
2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm i eslint-plugin-promise@latest --save-dev
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ lint: `eslint .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/fmaymone/.npm/_logs/2019-02-08T10_42_38_012Z-debug.log
Error: functions predeploy error: Command terminated with non-zero exit code1
Я уже пробовал:
npm i eslint-plugin-promise@latest --save-dev
Или
npm i g eslint-plugin-promise@latest --save-dev
Но ошибкаоставайся таким же.
Что мне делать?