Unable to transfer

I am trying to transfer data from remote to local strapi however i am getting the following error with node 16, 18 & 20

$ npm run strapi transfer – --from-remote https://ABC.com/admin

wp-order-alerts-backend@0.1.0 strapi
strapi transfer --from-remote https://ABC.com/admin

import crc1 from ‘./crc1’;

SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:360:18)
at wrapSafe (node:internal/modules/cjs/loader:1126:15)
at Module._compile (node:internal/modules/cjs/loader:1162:27)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (H:.…\node_modules\koa-session\lib\util.js:3:13)
at Module._compile (node:internal/modules/cjs/loader:1198:14)

This topic has been created from a Discord post (1240339680264716288) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord