Skip to content
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

no such file or directory, watch '/Users/mehrajuddin/.aws/credentials' #71

Open
Mehraj123 opened this issue Apr 20, 2022 · 1 comment
Open

Comments

@Mehraj123
Copy link

Mehraj123 commented Apr 20, 2022

Step#1: sudo npm install -g aws-es-kibana
Step#2: export the accessKey and secretKey

Step#3: aws-es-kibana cluster-address

internal/fs/watchers.js:226
throw error;
^

Error: ENOENT: no such file or directory, watch '/Users/mehrajuddin/.aws/credentials'
at FSWatcher. (internal/fs/watchers.js:218:26)
at Object.watch (fs.js:1582:34)
at Object. (/usr/local/lib/node_modules/aws-es-kibana/index.js:211:4)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'watch',
code: 'ENOENT',
path: '/Users/mehrajuddin/.aws/credentials',
filename: '/Users/mehrajuddin/.aws/credentials'

@jensbodal
Copy link

Try creating that file and just add [default] to the top of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants