rluvaton / nexus-migration-util

Utility for migrating repositories between nexus instances
https://www.npmjs.com/package/nexus-migration-util
MIT License
15 stars 0 forks source link

Getting error using every command #28

Open behniafb opened 10 months ago

behniafb commented 10 months ago

Hello. I installed the app using the installation described in README.md, but now I'm getting this kind of error when running any command.

For example when running nexus-migration-util -h I get:

nexus-migration-util -h
/home/behnia/.nvm/versions/node/v20.10.0/lib/node_modules/nexus-migration-util/node_modules/esm/esm.js:1
..... (Lots of error code)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

/home/behnia/.nvm/versions/node/v20.10.0/lib/node_modules/nexus-migration-util/node_modules/undici/lib/fetch/util.js:77
    object?.constructor?.name === 'Error' ||
           ^

SyntaxError: Invalid or unexpected token
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

Node.js v20.10.0
SolasArd commented 10 months ago

Tried to run it on NodeJS versions 12, 14 and 16, I keep getting the Error: Cannot find module '@swagger-api/apidom-reference/configuration/empty'

npm install @swagger-api/apidom-reference/configuration doesn't resolve the issue

However, I noticed in another comment that this utility doesn't support maven repos at the moment, which is the key feature for me, would be nice to reflect it in Readme as well