If I'm recalling the timeline correctly, France placed a moratorium [1] on all fracking activity many years ago. I believe they were the first to try to ban fracking in 2011. That was fought over in court, with the government winning. Then they became the first nation to ban all fossil fuel extraction in 2017.[2] France has two large shale areas that would have been good for fracking, the Paris basin and the South-East basin.[3] Energy companies were eager to try to develop those.
[1] https://www.nytimes.com/2013/10/12/business/international/fr...
[2] https://www.theguardian.com/environment/2017/dec/20/france-b...
[2] https://i.imgur.com/QO68cyO.jpg