Node RAK811+Arduino

I tried but it give me the following error “‘RAKLoRa’ was not declared in this scope” , it’s work fine without it.
for the connection, you can see it below:
image1
Note: I just changed the mega serial port to serial2