Recently delving into Firebase Functions for my Flutter project has been a game-changer.
Discovering the code generator, firebase_functions_interop, that seamlessly transforms Dart code into Javascript has made developing cloud functions in Dart a breeze.
However, as I attempted to deploy my first cloud function with the Firebase CLI, I kept encountering this frustrating error message:
Error: EPERM: operation not permitted, stat 'C:\PATH_TO_MY_FIREBASE_PROJECT\build\node\packages'
While navigating npm and Firebase Functions is relatively new to me, I can't seem to pinpoint where I'm going wrong.
The issue seems to revolve around permissions. Despite having administrator rights in my workspace folder and using VSCode as an Administrator, the problem persists.
I've already attempted clearing my npm cache and updating my npm version to no avail.
If there are any additional resources or information needed, please don't hesitate to ask.