-
-
Notifications
You must be signed in to change notification settings - Fork 498
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, open #398
Comments
Can you show us where you include Also, @zachleat, the Template render error should report more information. Like this, you can’t necessarily track down from where the error is thrown. |
It's pretty odd the situation. I have 2 identical project in 2 different folder and I get the error only on one project. The head.njk file is located in _includes The error happens here.
If I remove the sets the error skip till the next file footer.njk including other sets.... Is like it is messing up with paths, but using DEBUG I don't get any additional info on the error. |
Just to be more clearer the project where I got those errors happens only on my remote installation. Locally to other team members it works. |
Hmm, I think we're going to need a better test case here. From the original error it seems to be trying to include the files contents rather than a path to the file? But it doesn't seem obvious to me why it would be doing that from the code sample you provided. |
Yes is pretty strange cause this happen only on a Server where another instance of eleventy is running without any issue and with the same code. Looks weird. Maybe it depends by a global eleventy installation? I'm on Centos 7 |
I guess I had a couple ideas here that might be worth trying:
|
|
I got this error too. Not sure why. But deleting the |
|
I get the following error. Looks like it got errors during the file inclusion, but obviously files are there and it print out the source of the file, but don't processo the files.
The text was updated successfully, but these errors were encountered: