Can't add nodes in compositor

As title really, all nodes in compositor are greyed out, I’ve tried ticking and unticking the ‘use nodes’ option but this has no effect.