Blender 2.8 - How to access material nodes?
in 2.8 the shader editor and the compositor have been split into two different editors. 

You can use nodes in shading tab or if you go to compositing tab then enable the "Use Nodes" which you can see in the image: