The issue with Newark is good access to clean water and air pollution. Newark (especially the Passaic River that cuts through the city) has a long history of terrible pollution, and the shipyards and airport contribute to some generally poor air quality.
Couldn't an indoors farm use a closed air system? Actually, no - it would probably consume CO2 and produce O2, so there would need to be some exchange with the external world, but it would probably be beneficial to do it in a controlled manner, to avoid loosing water and getting pollution in.