I've been looking fo the exact same question but i couldnt find it. Could someone tell me what is wrong with this?
Asked
Active
Viewed 355 times
1
-
Please don't show pictures of error messages. It's better to copy the message into the text of the question so it's easier to read and search. – Doug Stevenson Dec 11 '18 at 03:47
-
Also, you're not showing the entire output. There are missing warnings from eslint that are describing the problem. – Doug Stevenson Dec 11 '18 at 03:48
-
where can i find the eslint though? I'm sorry but I'm a beginner in this and im trying to create a notification that can be sent through a device to another. – programmer211216 Dec 11 '18 at 03:56
-
Copy the entire output of the deployment into the question and format it as code. – Doug Stevenson Dec 11 '18 at 04:14
-
Actually, you should probably outline all the steps, starting from a new project, on how you got to this point. You might have simply missed a step. The error message alone isn't really enough. – Doug Stevenson Dec 11 '18 at 04:18
-
found the solution. I didn't log in my firebase through the command. Well that was very careless. – programmer211216 Dec 11 '18 at 06:59
-
if this happens due to the use of yarn2 have a look here: https://stackoverflow.com/a/67424850/2477619 – Felix K. May 06 '21 at 19:37
1 Answers
0
this worked for me
firstly i ran sudo npm install npm -g
secondly npm install
in the functions folder

Mehmet Ali Bayram
- 7,222
- 2
- 22
- 27