Phil Dodd

Results 7 comments of Phil Dodd

For anyone else struggling with this, in your user model: ````php use EntrustUserTrait { can as hasPermission; } ````

@sergiobelya , you're right, that's a better solution.

Note in https://github.com/marcelgwerder/laravel-api-handler/pull/57 I have a fix for this that is backward compatible.

@deleugpn That link is broken. Do you have an updated one?

@deleugpn Aha, it turned out to be a .dev TLD resolution issue on my machine: https://superuser.com/questions/1434425/dev-tld-resolves-to-127-0-0-1 All good now, thank you!

Maybe another option would be to mount an EFS volume for the storage directory: https://aws.amazon.com/blogs/compute/using-amazon-efs-for-aws-lambda-in-your-serverless-applications/

No, I'm still stuck running --production every time I need to compile. I'll post back here if I come up with anything.