Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download RML Mapper with the provided script #24

Open
VonUniGE opened this issue Nov 20, 2023 · 4 comments
Open

Unable to download RML Mapper with the provided script #24

VonUniGE opened this issue Nov 20, 2023 · 4 comments

Comments

@VonUniGE
Copy link

VonUniGE commented Nov 20, 2023

After cloning rmlmapper-webapi-js, I run:

$ npm i
added 371 packages in 953ms

48 packages are looking for funding
   run `npm fund` for details

and then

$ node ./node_modules/@rmlio/rmlmapper-webapi/bin/download-rmlmapper-to-cwd
node:internal/modules/cjs/loader:1078
  throw err;
  ^

Error: Cannot find module '/Users/von/src/rmlmapper-webapi-js/node_modules/@rmlio/rmlmapper-webapi/bin/download-rmlmapper-to-cwd'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.9.0

Is there a recommended version of node ?

@pheyvaer
Copy link
Collaborator

@VonUniGE
Copy link
Author

Hi @pheyvaer, thank you for your reply.

I have also an error:

$ node ./bin/download-rmlmapper-cli.js
info:    Downloading the RMLMapper v6.3.0...
error:   uncaughtException: EISDIR: illegal operation on a directory, open '/Users/von/src/rmlmapper-webapi-js'
Error: EISDIR: illegal operation on a directory, open '/Users/von/src/rmlmapper-webapi-js'

@pheyvaer
Copy link
Collaborator

What operating system are you using?

In the meantime you can download the latest version of the RMLMapper at https://github.com/RMLio/rmlmapper-java/releases/tag/v6.3.0

@VonUniGE
Copy link
Author

I'm on macOS.
I've downloaded manually the rmlmapper.jar file and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants