comunica / comunica-actor-init-sparql-hdt

📬 A Comunica engine for SPARQL query evaluation over HDT files
https://comunica.dev/docs/query/advanced/hdt/
Other
0 stars 2 forks source link

Cannot find module '@comunica/actor-rdf-join-nestedloop' #85

Closed pheyvaer closed 4 years ago

pheyvaer commented 4 years ago

I did a fresh install via

npm i -g @comunica/actor-init-sparql-hdt

using Node v12.16.0 and when running

comunica-sparql-hdt

I get the following error:

internal/modules/cjs/loader.js:984
  throw err;
  ^

Error: Cannot find module '@comunica/actor-rdf-join-nestedloop'
Require stack:
- /home/pheyvaer/.nvm/versions/node/v12.16.0/lib/node_modules/@comunica/actor-init-sparql-hdt/engine-default.js
- /home/pheyvaer/.nvm/versions/node/v12.16.0/lib/node_modules/@comunica/actor-init-sparql-hdt/bin/query.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:981:15)
    at Function.Module._load (internal/modules/cjs/loader.js:863:27)
    at Module.require (internal/modules/cjs/loader.js:1043:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/home/pheyvaer/.nvm/versions/node/v12.16.0/lib/node_modules/@comunica/actor-init-sparql-hdt/engine-default.js:39:137)
    at Module._compile (internal/modules/cjs/loader.js:1157:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
    at Module.load (internal/modules/cjs/loader.js:1001:32)
    at Function.Module._load (internal/modules/cjs/loader.js:900:14)
    at Module.require (internal/modules/cjs/loader.js:1043:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/pheyvaer/.nvm/versions/node/v12.16.0/lib/node_modules/@comunica/actor-init-sparql-hdt/engine-default.js',
    '/home/pheyvaer/.nvm/versions/node/v12.16.0/lib/node_modules/@comunica/actor-init-sparql-hdt/bin/query.js'
  ]
}
pheyvaer commented 4 years ago

Running comunica-dynamic-sparql-hdt does seem to work.

rubensworks commented 4 years ago

Hmm, this may require a version update of this package.

rubensworks commented 4 years ago

Fixed in 1.5.4.