nrf24l01 range problem

I m having two nrf24l01 modules without antennas. And i need communication between them up to distance of 5m. But i couldnt communicate with them for even 1m. Response time out error is displayed. For a distance of 10cm - 20cm its working finely. Could you please help me with this???
Tx code

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(48, 49);

const byte rxAddr[6] = "00001";

void setup()
{
  radio.begin();
  //radio.setRetries(15, 15);
  radio.openWritingPipe(rxAddr);
  radio.setPALevel ( RF24_PA_HIGH);
  radio.stopListening();
}

void loop()
{
  const char text[] = "Hello World";
  radio.write(&text, sizeof(text));
  
  delay(1000);
}

Rx code

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(7, 8);

const byte rxAddr[6] = "00001";

void setup()
{
  while (!Serial);
  Serial.begin(9600);
  
  radio.begin();
  radio.openReadingPipe(0, rxAddr);
  radio.setPALevel ( RF24_PA_HIGH);
  radio.startListening();
}

void loop()
{
  if (radio.available())
  {
    char text[32] = {0};
    radio.read(&text, sizeof(text));
    
    Serial.println(text);
  }
}

Could be power supply issues. Do you have large caps, 10uF+, close to the power pins of the modules?

I used 2 adapters for them. Do i still have to use capacitors. I have given them 5V supply from arduino. Otherwise they dont work

Have a look at this Simple nRF24L01+ Tutorial.

In one test I had a pair of nRF24L01+ (with PCB antennas) working at 110 metres out doors.

Make sure that the antennas are not obscured.

...R

Select channel above 82 to avoid local Wifi interfernce

mahen6513: I used 2 adapters for them. Do i still have to use capacitors. I have given them 5V supply from arduino. Otherwise they dont work

Do these adapters have large caps on the power lines? Can you post a link to the description of the adapters?