Error: Cannot find module

Hi, While running test in cirlce CI I am facing this issue.

Error: Cannot find module '@pages/CreateCertificatePage'
Require stack:
- /root/project/tests/certificationPublishAndUnpublish.test.ts
- /root/project/node_modules/@playwright/test/lib/loader.js
- /root/project/node_modules/@playwright/test/lib/runner.js
- /root/project/node_modules/@playwright/test/lib/cli.js
- /root/project/node_modules/playwright-core/lib/cli/cli.js
- /root/project/node_modules/playwright-core/cli.js
- /root/project/node_modules/@playwright/test/cli.js

   at tests/certificationPublishAndUnpublish.test.ts:4

  2 | import CommonActions from "@pages/CommonActions";
  3 | import ContentPage from "@pages/ContentPage";
> 4 | import CreateCertificatePage from "@pages/CreateCertificatePage";
    | ^
  5 | import { test, expect } from "@playwright/test";
  6 | import * as data from "@test-data/create_certificate.json"
  7 |

TSConfig file

{
    "compilerOptions": {
        "strictNullChecks": false,
        "target": "ES2015",
        "strict": true,
        "module": "CommonJS",
        "sourceMap": false,
        "resolveJsonModule": true,
        "baseUrl": ".",
        "rootDir": "./",
        "paths": {
            "@pages/*": [
                "pages/*"
            ],
            "@env/*": [
                "helpers/env/*.ts"
            ],
            "@files/*": [
                "uploadFolder/*"
            ],
            "@selectors/*": [
                "helpers/uiUtilities/selectors/*"
            ],
            "@test-data/*": [
                "helpers/utils/test-data/*"
            ],
            "@base/*": [
                "helpers/uiUtilities/BaseFunctions.ts"
            ]
        },
    }
}

All the configurations are correct, but still facing the issue.
ContentPage & other class files are within the same directory, one class is working whereas other class is not working.
Please help.

config.yml

version: 2
jobs:
  build:
    docker:
      - image: mcr.microsoft.com/playwright:v1.25.0-focal
    environment:
      NODE_ENV: development # Needed if playwright is in `devDependencies`
    steps:
      - checkout
      - run:
          name: Install the devDependencies
          command: npm install
      - run:
          name: Execute the tests
          command: |
            npm run test:staging-national
      - store_test_results:
          path: results.xml

CreateCertificatePage.ts


export default class CreateCertificatePage {
 // few methods here
}