Help with GxEPD2 libary

Hey together

I’m trying to build a thermometer with an Arduino Nano Every and a 1.54 inch (200x200) e-paper display.
Now I don’t understand how to mess with GxEPD2 libary. Now I want to ask you how I could do it.
I have this code for GxEPD1 libary but it isn’t working for my Nano, only for my UNO R3:

#include <GxEPD2.h>
#include <GxGDEW0154Z04/GxGDEW0154Z04.h>  // 1.54" b/w/r 200x200
#include <Adafruit_GFX.h>
//#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/SansSerif_plain_60.h>
#include <Fonts/Meteocons_Regular_60.h>
//#include <Wire.h>
//#include <Adafruit_Sensor.h>
//#include <Adafruit_BME280.h>

GxEPD_Class display(SPI, SS, 9, 8);
//Adafruit_BME280 bme;

void setup(void)
{
  display.init();
  //if (!bme.begin(0x76)) {
    display.drawPaged(error);
  //  while (1);
  //} else {
  //  display.drawPaged(icons);
  //}
}

void loop()
{

}

void temprature(float temp, float hum) {
  const GFXfont* f = &SansSerif_plain_60;
  display.fillScreen(GxEPD_BLACK);
  display.setTextColor(GxEPD_WHITE);
  display.setFont(f);
  display.setCursor(40, 75);
  display.println("C");
}
void icons() {
  const GFXfont* f = &Meteocons_Regular_60;
  display.fillScreen(GxEPD_BLACK);
  display.setTextColor(GxEPD_WHITE);
  display.setFont(f);
  display.setCursor(10, 75);
  display.print("'");
  display.setCursor(10, 160);
  display.print("!");
}
void error() {
  const GFXfont* f = &Meteocons_Regular_60;
  display.fillScreen(GxEPD_BLACK);
  display.setTextColor(GxEPD_WHITE);
  display.setFont(f);
  display.setCursor(100, 100);
  display.print("8");

  const GFXfont* f2 = &SansSerif_plain_60;
  display.fillScreen(GxEPD_WHITE);
  display.setTextColor(GxEPD_RED);
  display.setFont(f2);
  display.setCursor(100, 180);
  display.print("Fehler!");
}

Could someone give me a simple example code with text, please?