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

Error: ENOENT: no such file or directory ~/alpine3.8-runc-ansible/info.yml #37

Closed
pulberg opened this issue Jun 18, 2019 · 3 comments
Closed

Comments

@pulberg
Copy link

pulberg commented Jun 18, 2019

So i'm testing out slim and i'm not sure about an error i'm getting. I can get the build to work correctly -

-rw-r--r--  1 pulberg  RJF\Domain Users  24856576 Jun 18 13:04 /Users/pulberg/.slim/registry/alpine3.8-simple/slim.iso
success!

If I then try slim images I get this -

slim images
Error: ENOENT: no such file or directory, open '/Users/pulberg/.slim/registry/alpine3.8-runc-ansible/info.yml'
    at Object.openSync (fs.js:447:3)
    at Object.readFileSync (fs.js:349:35)
    at Images.info (/Users/pulberg/slim/lib/images.js:41:39)
    at /Users/pulberg/slim/lib/images.js:16:35
    at Array.map (<anonymous>)
    at Images.list (/Users/pulberg/slim/lib/images.js:15:59)
    at Object.exports.handler (/Users/pulberg/slim/lib/commands/images.js:11:30)
    at Object.runCommand (/Users/pulberg/slim/node_modules/yargs/lib/command.js:242:26)
    at Object.parseArgs [as _parseArgs] (/Users/pulberg/slim/node_modules/yargs/yargs.js:1078:30)
    at Object.get [as argv] (/Users/pulberg/slim/node_modules/yargs/yargs.js:1012:21) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/pulberg/.slim/registry/alpine3.8-runc-ansible/info.yml'
}

Even if i add the info.yml file, I then get this -

slim images
Error: ENOENT: no such file or directory, stat '/Users/pulberg/.slim/registry/alpine3.8-runc-ansible/slim.iso'
    at Object.statSync (fs.js:856:3)
    at Object.statSync (/Users/pulberg/slim/node_modules/graceful-fs/polyfills.js:295:24)
    at VirtualBox.size (/Users/pulberg/slim/lib/providers/virtualbox.js:124:19)
    at /Users/pulberg/slim/lib/images.js:21:47
    at processTicksAndRejections (internal/process/task_queues.js:89:5)
    at async Promise.all (index 0)
    at async Images.list (/Users/pulberg/slim/lib/images.js:15:16)
    at async Object.exports.handler (/Users/pulberg/slim/lib/commands/images.js:11:17) {
  errno: -2,
  syscall: 'stat',
  code: 'ENOENT',
  path: '/Users/pulberg/.slim/registry/alpine3.8-runc-ansible/slim.iso'
}

And, sure enough, no .iso in that path -

pulberg ~ alpine3.8-runc-ansible
 ➜ ls
.rw-r--r--  pulberg  RJF\Domain Users  92 B  Tue Jun 18 13:06:58 2019    info.yml

So i'm not sure what needs to be done here or why it's asking for something that doesn't exist.

Thanks,

Phillip

@chrisparnin
Copy link
Contributor

@pulberg This might be related to this issue: #17
We just pushed an update in this PR:
#36

Maybe try the latest code?

@pulberg
Copy link
Author

pulberg commented Jun 18, 2019

Thanks, I'll test the latest.

@pulberg
Copy link
Author

pulberg commented Jun 18, 2019

Working great now, thanks!

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