Arduino nano gsm

getting this issue
Arduino: 1.8.9 (Windows 10), Board: “Arduino Nano, ATmega328P”

In file included from C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:38:0,

                 from C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,

                 from C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Adapters/BlynkGsmClient.h:46,

                 from C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/BlynkSimpleTinyGSM.h:14,

                 from C:\Users\dell\OneDrive\Documents\Arduino\schoolautomation\schoolautomation.ino:55:

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:30:9: error: 'HandlerType' does not name a type

         HandlerType type;

         ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:32:13: error: 'HandlerSimp' does not name a type

             HandlerSimp* f_simp;

             ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:33:13: error: 'HandlerArgs' does not name a type

             HandlerArgs* f_args;

             ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:36:35: error: 'HandlerSimp' has not been declared

         CmdHandler(const char* s, HandlerSimp* f)

                                   ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:39:35: error: 'HandlerArgs' has not been declared

         CmdHandler(const char* s, HandlerArgs* f)

                                   ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:39:9: error: 'BlynkConsole::CmdHandler::CmdHandler(const char*, int*)' cannot be overloaded

         CmdHandler(const char* s, HandlerArgs* f)

         ^~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:36:9: error: with 'BlynkConsole::CmdHandler::CmdHandler(const char*, int*)'

         CmdHandler(const char* s, HandlerSimp* f)

         ^~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:73:38: error: 'HandlerSimp' has not been declared

     void addCommand(const char* cmd, HandlerSimp h) {

                                      ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:78:38: error: 'HandlerArgs' has not been declared

     void addCommand(const char* cmd, HandlerArgs h) {

                                      ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:78:10: error: 'void BlynkConsole::addCommand(const char*, int)' cannot be overloaded

     void addCommand(const char* cmd, HandlerArgs h) {

          ^~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:73:10: error: with 'void BlynkConsole::addCommand(const char*, int)'

     void addCommand(const char* cmd, HandlerSimp h) {

          ^~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h: In constructor 'BlynkConsole::CmdHandler::CmdHandler(const char*, int*)':

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:37:23: error: class 'BlynkConsole::CmdHandler' does not have any field named 'type'

             : cmd(s), type(SIMPLE), f_simp(f)

                       ^~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:37:28: error: 'SIMPLE' was not declared in this scope

             : cmd(s), type(SIMPLE), f_simp(f)

                            ^~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:37:28: note: suggested alternative: 'FILE'

             : cmd(s), type(SIMPLE), f_simp(f)

                            ^~~~~~

                            FILE

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:37:37: error: class 'BlynkConsole::CmdHandler' does not have any field named 'f_simp'

             : cmd(s), type(SIMPLE), f_simp(f)

                                     ^~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h: In constructor 'BlynkConsole::CmdHandler::CmdHandler(const char*, int*)':

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:40:23: error: class 'BlynkConsole::CmdHandler' does not have any field named 'type'

             : cmd(s), type(WITH_ARGS), f_args(f)

                       ^~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:40:28: error: 'WITH_ARGS' was not declared in this scope

             : cmd(s), type(WITH_ARGS), f_args(f)

                            ^~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:40:40: error: class 'BlynkConsole::CmdHandler' does not have any field named 'f_args'

             : cmd(s), type(WITH_ARGS), f_args(f)

                                        ^~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h: In constructor 'BlynkConsole::BlynkConsole()':

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:57:9: error: 'HandlerSimp' was not declared in this scope

         HandlerSimp help = [=]() {

         ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:67:28: error: 'help' was not declared in this scope

         addCommand("help", help);

                            ^~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:67:28: note: suggested alternative: 'exp'

         addCommand("help", help);

                            ^~~~

                            exp

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h: In member function 'void BlynkConsole::addCommand(const char*, int)':

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:75:45: error: expected primary-expression before '(' token

         commands[commandsQty++] = CmdHandler(cmd, new HandlerSimp(h));

                                             ^

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:75:55: error: expected type-specifier before 'HandlerSimp'

         commands[commandsQty++] = CmdHandler(cmd, new HandlerSimp(h));

                                                       ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h: In member function 'void BlynkConsole::addCommand(const char*, int)':

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:80:45: error: expected primary-expression before '(' token

         commands[commandsQty++] = CmdHandler(cmd, new HandlerArgs(h));

                                             ^

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:80:55: error: expected type-specifier before 'HandlerArgs'

         commands[commandsQty++] = CmdHandler(cmd, new HandlerArgs(h));

                                                       ^~~~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h: In member function 'BlynkConsole::ProcessResult BlynkConsole::runCommand(char*)':

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:109:33: error: 'class BlynkConsole::CmdHandler' has no member named 'type'

                 switch (handler.type) {

                                 ^~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:110:22: error: 'SIMPLE' was not declared in this scope

                 case SIMPLE:

                      ^~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:110:22: note: suggested alternative: 'FILE'

                 case SIMPLE:

                      ^~~~~~

                      FILE

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:111:32: error: 'class BlynkConsole::CmdHandler' has no member named 'f_simp'

                     (*(handler.f_simp))();

                                ^~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:113:22: error: 'WITH_ARGS' was not declared in this scope

                 case WITH_ARGS:

                      ^~~~~~~~~

C:\Users\dell\OneDrive\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkConsole.h:114:32: error: 'class BlynkConsole::CmdHandler' has no member named 'f_args'

                     (*(handler.f_args))(argc-1, (const char**)(argv+1));

                                ^~~~~~

exit status 1
Error compiling for board Arduino Nano.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

code

/**************************************************************
 *
 * For this example, you need to install Blynk library:
 *   https://github.com/blynkkk/blynk-library/releases/latest
 *
 * TinyGSM Getting Started guide:
 *   https://tiny.cc/tinygsm-readme
 *
 **************************************************************
 *
 * Blynk is a platform with iOS and Android apps to control
 * Arduino, Raspberry Pi and the likes over the Internet.
 * You can easily build graphic interfaces for all your
 * projects by simply dragging and dropping widgets.
 *
 * Blynk supports many development boards with WiFi, Ethernet,
 * GSM, Bluetooth, BLE, USB/Serial connection methods.
 * See more in Blynk library examples and community forum.
 *
 *                http://www.blynk.io/
 *
 * Change GPRS apm, user, pass, and Blynk auth token to run :)
 **************************************************************/

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space

// Default heartbeat interval for GSM is 60
// If you want override this value, uncomment and set this option:
// #define BLYNK_HEARTBEAT 30

// Select your modem:
#define TINY_GSM_MODEM_SIM800
// #define TINY_GSM_MODEM_SIM808
// #define TINY_GSM_MODEM_SIM868
// #define TINY_GSM_MODEM_SIM900
// #define TINY_GSM_MODEM_SIM7000
// #define TINY_GSM_MODEM_SIM7000SSL
// #define TINY_GSM_MODEM_SIM7080
// #define TINY_GSM_MODEM_SIM5360
// #define TINY_GSM_MODEM_SIM7600
// #define TINY_GSM_MODEM_UBLOX
// #define TINY_GSM_MODEM_SARAR4
// #define TINY_GSM_MODEM_M95
// #define TINY_GSM_MODEM_BG96
// #define TINY_GSM_MODEM_A6
// #define TINY_GSM_MODEM_A7
// #define TINY_GSM_MODEM_M590
// #define TINY_GSM_MODEM_MC60
// #define TINY_GSM_MODEM_MC60E
// #define TINY_GSM_MODEM_ESP8266
// #define TINY_GSM_MODEM_XBEE
// #define TINY_GSM_MODEM_SEQUANS_MONARCH

#include <TinyGsmClient.h>
#include <BlynkSimpleTinyGSM.h>

// Set serial for debug console (to the Serial Monitor, default speed 115200)
#define SerialMon Serial

// Hardware Serial on Mega, Leonardo, Micro
#ifndef __AVR_ATmega328P__
#define SerialAT Serial1

// or Software Serial on Uno, Nano
#else
#include <SoftwareSerial.h>
SoftwareSerial SerialAT(2, 3);  // RX, TX
#endif


// Your GPRS credentials, if any
const char apn[]  = "ideanet";
const char user[] = "";
const char pass[] = "";

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
#define BLYNK_TEMPLATE_ID "TMPLfk3rQlKw"
#define BLYNK_DEVICE_NAME "school automation"
#define BLYNK_AUTH_TOKEN "MDBrgQJtyw4KnK9tvYmNKxLuwLCkgSfd"
TinyGsm modem(SerialAT);

void setup()
{
  // Set console baud rate
  SerialMon.begin(115200);
  delay(10);

  // Set GSM module baud rate
  SerialAT.begin(115200);
  delay(6000);

  // Restart takes quite some time
  // To skip it, call init() instead of restart()
  SerialMon.println("Initializing modem...");
  modem.restart();

  String modemInfo = modem.getModemInfo();
  SerialMon.print("Modem Info: ");
  SerialMon.println(modemInfo);

  // Unlock your SIM card with a PIN
  //modem.simUnlock("1234");

  Blynk.begin("MDBrgQJtyw4KnK9tvYmNKxLuwLCkgSfd", modem, apn, user, pass);
}

void loop()
{
  Blynk.run();

@VIGHNESHNS2008 please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Pete.

any clues?

Check this example

Using the same only