serverless / serverless/serverless

EISDIR: illegal operation on a directory, read

Open
#5,914 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug cat/aws-auth
Dominant language
JavaScript
Stars
46.9k
Forks
5.7k
Avg merge
10h 7m
Merged PRs (30d)
57

Description

sls config credentials --provider aws --key ******* --secret ******
after i run this command an it says "Setting up AWS..."
then this error comes
"EISDIR: illegal operation on a directory, read

 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable."

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing sls config credentials --provider aws with the supplied options and rerun it with SLS_DEBUG=* enabled. Trace which path is being read during the “Setting up AWS...” step; done means the command no longer attempts to read a directory and completes credential setup or reports a clear actionable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.