Casbin's newEnforcer crash the app
I'm trying to configure a RBAC using Casbin following the Doc.
Creating the AccessControlProvider, the newEnforcer function causes the error in the image.
I have checked the where is the index file from, and it is from csv-parse/lib package. I'm not using that library, I guess the casbin library uses it, but I don't know what to do to solve it.
here is my accessControl file
And here is the casbin configuration in the app file:
Creating the AccessControlProvider, the newEnforcer function causes the error in the image.
I have checked the where is the index file from, and it is from csv-parse/lib package. I'm not using that library, I guess the casbin library uses it, but I don't know what to do to solve it.
here is my accessControl file
And here is the casbin configuration in the app file:

