Is the tutorial about creation basics up to date?

https://docs.unrealengine.com/latest/INT/Programming/Basics/ClassCreation/CodeOnly/index.html

I got problem about with this tutorial, I can find error at “Components.Add(PointLight1)” when I was testing the code.

This should be fixed in the latest version of the tutorial. Try comparing your code to what is on that page now.