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" error should be more descriptive #202

Closed
mymikemiller opened this issue Nov 30, 2020 · 2 comments
Closed

"No such file or directory" error should be more descriptive #202

mymikemiller opened this issue Nov 30, 2020 · 2 comments

Comments

@mymikemiller
Copy link

Not sure if this is the right place for this; I couldn't find dfx on github.

I've gotten the following error a few times when running dfx build. It would be nice if the error listed what files weren't found so I can more easily address the problem. As it is, unless you're building very often and happen to catch the missing file as you add a refrence somewhere, it's hard to track down exactly what's missing.

The error is as follows:

$ dfx build
Building canisters...
Building frontend...
Build failed. Reason:
  Postbuild step failed for canister cxeji-wacaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q with error: An error occured:
Io(
    Os {
        code: 2,
        kind: NotFound,
        message: "No such file or directory",
    },
)
@nomeata
Copy link
Contributor

nomeata commented Nov 30, 2020

That is more likely an issue with the dfx tool (and I think there have been improvements in that direction recently, ideally report the version number with a report). dfx isn’t open source yet, until then I think https://forum.dfinity.org is a suitable venue for such reports.

@mymikemiller
Copy link
Author

Thank you @nomeata. I posted to the forum.

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