You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it is just a simple node script, not requiring modules, then the developer should just edit some constant in set-user-roles.js and then run:
yarn add firebase-admin
node ./set-user-roles.js
Currently the script produce errors with modules not supported, require not working, export not usable - all depending on how you decide to set your project.
PS: I am writing this issue to match a PR I am going to push.
The text was updated successfully, but these errors were encountered:
mouneyrac
added a commit
to mouneyrac/rowy-docs
that referenced
this issue
Jan 29, 2023
The instructions to set up the admin user (https://docs.rowy.io/how-to/roles?set-user-roles-tabs=admin-sdk#set-user-roles-tabs) are a little time consuming as they mix import and require syntax. It makes setting up this mini project difficult.
As it is just a simple node script, not requiring modules, then the developer should just edit some constant in set-user-roles.js and then run:
yarn add firebase-admin
node ./set-user-roles.js
Currently the script produce errors with modules not supported, require not working, export not usable - all depending on how you decide to set your project.
PS: I am writing this issue to match a PR I am going to push.
The text was updated successfully, but these errors were encountered: