gbv / jskos-cli

Command Line Applications to process JSKOS data format
MIT License
1 stars 1 forks source link

module csv-to-mapping not found #26

Closed EEngl52 closed 2 years ago

EEngl52 commented 2 years ago

I just installed jskos-cli as described in the readme and wanted to test the installation with some of the example files provided. While jskos-validate works perfectly fine, whatever command I use with jskos-convert (even --version or --help) gives me the following error:

jskos-convert --version
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module './csv-to-mapping'
Require stack:
- C:\Users\engl\anaconda3\node_modules\jskos-cli\lib\jskos-convert.js
- C:\Users\engl\anaconda3\node_modules\jskos-cli\lib\convert-action.js
- C:\Users\engl\anaconda3\node_modules\jskos-cli\bin\jskos-convert
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\engl\anaconda3\node_modules\jskos-cli\lib\jskos-convert.js:9:26)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\engl\\anaconda3\\node_modules\\jskos-cli\\lib\\jskos-convert.js',
    'C:\\Users\\engl\\anaconda3\\node_modules\\jskos-cli\\lib\\convert-action.js',
    'C:\\Users\\engl\\anaconda3\\node_modules\\jskos-cli\\bin\\jskos-convert'
  ]
}

Node.js v17.1.0

I can neither find this module on my local machine nor in this git repo. Could you please correct this?

nichtich commented 2 years ago

Sorry, I somehow managed to publish a broken version. Please try to install again, version 0.5.0 should work as expected.

EEngl52 commented 2 years ago

it works now, thank's a lot!