Hi sorry to trouble again.
I failed in both cases the LM358 circuit & 74HC14 one.
In LM358 I added a 150K resister from the output pin to (+) non inverting pin.
But still in ambient light the output LED is dim. I thought I explained this issue in a previous post. It is because your transistor is not turning off fully.
That's why I suggested you use an N channel MOSFET.
However, a red LED would give you enough off set. Connect it is series with the base resistor. It does not matter if it glows or not.
After I tried with 74HC14 circuit in that the output LED is all the time is on. No sensing. The change in voltage is not large enough. That is why I said that you would have to reduce the hystersis. See below.
Attachment has the circuit I use. In both cases the LDR & 10k resister is vise versa.
Here is the link of LM358 circuit it has 741 but i put 358.
**broken link removed**