Skip to content

Error: EACCES: permission denied, open '/.config/graphile-workerrc' #571

@reivilibre

Description

@reivilibre

Summary

On startup in production, my application is getting this error:

Error: EACCES: permission denied, open '/.config/graphile-workerrc'

Upon reading the documentation site and searching in this repo, I couldn't find anything about a graphile-workerrc file.

I have found that it looks to be handled by this library: https://github.com/cosmiconfig/cosmiconfig

It seems like it will start at the current directory and keep walking upwards, looking for various file patterns including .config/graphile-workerrc.

The easiest workaround seems to be to:

echo "{}" > .graphile-workerrc

in the current directory (the one that will be the PWD where the application will be running), or any directory up to the root before it hits a troublesome directory.

Additional context

At this point I am opening this issue here for searchability for someone else. I am fine with the workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions