This is an American dark fantasy movie of director David Yarovesky with the writer Tobias Iaconis and Mikki Daughtry. It is from the horror-fantasy kid’s book of 2018 of the same name.
Reference: https://horrormoviesreviews.com/latest/nightbooks-2021/