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

ENOENT: no such file or directory on macOS #35

Open
Dentrax opened this issue Jul 14, 2020 · 5 comments
Open

ENOENT: no such file or directory on macOS #35

Dentrax opened this issue Jul 14, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@Dentrax
Copy link

Dentrax commented Jul 14, 2020

Describe the bug
Does not work because of yoga-layout-prebuilt, i think. Fresh installed npm.

To Reproduce
Steps to reproduce the behavior:

  1. npm install -g kubelive
  2. kubelive get pods
  3. See error:
/usr/local/lib/node_modules/kubelive/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: ENOENT: no such file or directory, open
    at Object.openSync (fs.js:465:3)
    at Object.readFileSync (fs.js:368:35)
    at KubeConfig.loadFromFile (/usr/local/lib/node_modules/kubelive/node_modules/@kubernetes/client-node/dist/config.js:69:32)
    at KubeConfig.loadFromDefault (/usr/local/lib/node_modules/kubelive/node_modules/@kubernetes/client-node/dist/config.js:202:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/kubelive/src/kube/api.js:7:4)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
    at Module.load (internal/modules/cjs/loader.js:1050:32)
    at Function.Module._load (internal/modules/cjs/loader.js:938:14)
    at Module.require (internal/modules/cjs/loader.js:1090:19) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT'
}

Expected behavior
Should work?

Screenshots
Screen Shot 2020-07-14 at 09 37 18

npm --version: 6.14.6

@ameerthehacker
Copy link
Owner

@Dentrax what node version, are you using? and is your kubeconfig in the right place?

@ameerthehacker ameerthehacker added the bug Something isn't working label Jul 14, 2020
@Dentrax
Copy link
Author

Dentrax commented Jul 14, 2020

Yes, in the right place.

node --version: v14.5.0
echo $KUBECONFIG:: :/Users/furkan/.kube/config

@ameerthehacker
Copy link
Owner

@Dentrax can you try with node v10

@Dentrax
Copy link
Author

Dentrax commented Jul 24, 2020

Honestly, i don't like to deal with JS things like npm and node etc. But I think, I shouldn't downgrade the version, instead, it should support latest version of node, as you said in readme: node v10 or higher.

@ameerthehacker
Copy link
Owner

@Dentrax sorry for your inconvenience but it is impossible to test in all node version above v10 and to know whether it is a version problem for sure you need to help me by trying it on node 10 but if it is up to you to do so.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants