I'm trying to deploy a project with firebase using:
npm --prefix $RESOURCE_DIR run lint
At first, this gave me a list of errors, which I found to be similar here: Error deploying with firebase on npm --prefix $RESOURCE_DIR run lint
and then tried to update my firebase.json
with the command mentioned in the approved answer there and tried to deploy it again. Now I've read on the internet that this takes time, but it has been half an hour now, and this command is still being run.
Any idea how I can get around this?
EDIT: The steps I followed after creating a new directory, FriendlyChatFunctions
, I did the following in the order written:
1. firebase init functions
2. checked 'yes' to proceed
3. checked 'JavaScript' for the language to be used
4. checked 'yes' to use ESlint to catch probable bugs
5. edited index.js and saved the file
6. ran the command firebase deploy