Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

ENOENT: no such file or directory, open 'C:\Users\Kishan Sambhi\Documents\Projects\boss\boss\tmp\config.yml' #29

Closed
Gum-Joe opened this issue Nov 22, 2015 · 4 comments

Comments

@Gum-Joe
Copy link
Owner

Gum-Joe commented Nov 22, 2015

Hi,
I have found an issue which causes the config to be unable to be opened
Here is the output:

$ bin/boss server
fs.js:549
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'C:\Users\Kishan Sambhi\Documents\Projects\boss\boss\tmp\config.yml'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.getdata (C:\Users\Kishan Sambhi\Documents\Projects\boss\boss\node_modules\boss-config\app.js:7:26)
    at Object.<anonymous> (C:\Users\Kishan Sambhi\Documents\Projects\boss\boss\boot\libs\certs.js:6:22)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)

Thanks in advanced!

@Gum-Joe
Copy link
Owner Author

Gum-Joe commented Nov 22, 2015

Hi,
We have found the cause: the config is being loaded before it has been generated.
Thank you for telling us

Gum-Joe added a commit that referenced this issue Nov 22, 2015
@Gum-Joe
Copy link
Owner Author

Gum-Joe commented Nov 22, 2015

Thank you for submitting this issue!
It has now been resolved

@Gum-Joe Gum-Joe closed this as completed Nov 22, 2015
@Gum-Joe
Copy link
Owner Author

Gum-Joe commented Nov 22, 2015

Oh no! Needs to be fixed in tests

@Gum-Joe
Copy link
Owner Author

Gum-Joe commented Nov 23, 2015

It has now been fixed

@Gum-Joe Gum-Joe closed this as completed Nov 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant