-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] PermissionDenied to sys
for required access to "osRelease" when deploying an app
#382
Comments
sys
for required access to "osRelease" when deploying an app
Hey @MitchDevLissi 👋 I haven't seen this error before but was wondering if you could share a bit more info to help troubleshoot? I'd be interested in knowing:
I'm not finding this error when deploying a new copy of the
Let me know if something seems off between versions - I'd expect deno |
Using: |
When running locally, the CLI does not bundle or process your app code in any way. When deploying, the CLI executes a bundling process, which transpiles your code into a single For whatever reason, during this bundling process, there is a need for the code being bundled to access the Which Google dependency for emails are you using? Can you share it with us? If you comment out / don't include this dependency, does |
Basically I am using this the GMAIL API for sending the email. |
I am unfamiliar with this external dependency. Deployed applications are allowed to read from the file system. I do not think this is a scope problem. The problem is the code for your app is trying to access a system API, which deno gates access to via the However, the most recent version of our tooling supports access to this API. Can you share the contents of the |
Here is the slack.json
With deploy I checked and does not give me any hints. I think it s a matter of permission. |
I have a similar issue where I'm trying to use the AWS API to invoke a function. When I run my app locally with
I haven't been able to figure out how to pass the |
I was able to work around my issue by setting |
Hello,
so I get this wired error when I deploy the app
Caught error from user supplied module: PermissionDenied: Requires sys access to "osRelease", run again with the --allow-sys flag
I don t fully get the meaning since when I run locally, I don t have this issue, what could it be?
Thanks!
The text was updated successfully, but these errors were encountered: