I am getting this Error, How to solve??
This is from .njk error
6 Replies
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.njk is template layout code
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.i am sure the file is in correct path
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 codeblockahh thankyou