Cloud Functions deploy error during lint on Windows: “enoent ENOENT: no such file or directory”

后端 未结 9 2476
轻奢々
轻奢々 2020-11-27 07:07

Following the firebase function getting started guide and getting a seemingly simple error once trying to deploy with:

firebase deploy --only functions

i  d         


        
9条回答
  •  离开以前
    2020-11-27 07:50

    As an extra doing npm --prefix %RESOURCE_DIR% run lint like @Deji James said, made me some progress but still didn't work.

    As a suggestion I found this https://github.com/firebase/firebase-tools/issues/610

    and @merlinnot says here Hey guys, you all probably have sth in your predeploy in firebase.json, don't you? Just delete what you have there for now if it's not that important.

    worked for me. PS. before deciding to delete, I have done all reinstall things, uninstall things. Only this is worked.

提交回复
热议问题