I am getting this Error, How to solve??

This is from .njk error
6 Replies
Tenkes
Tenkes3y ago
No idea what .njk is but it says "directory dos not exist", so I'm guessing you used wrong file path or something like that.. Can't really help much without more details
Fabiañ
FabiañOP3y ago
.njk is template layout code
Wolle
Wolle3y ago
It says its inside src/_includes and does not find ./base.nkj. ./ means the same folder, so it looks for the file src/_includes/base.njk, which it does not find there. Make sure the file is there, or correct the path in the file, that includes it.
Fabiañ
FabiañOP3y ago
i am sure the file is in correct path
Jochem
Jochem3y ago
The way I'm reading that error, is that base.njk contains a reference to src/__includes and that directory does not exist. Can you share the contents of base.njk? Preferably in a codeblock
Fabiañ
FabiañOP3y ago
ahh thankyou

Did you find this page helpful?