-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi, maybe I'm doing something wrong because I'm pretty new to nodejs.
I tried using the collmex-client with import instead of required:
import Collmex from 'collmex-client';
const collmex = Collmex({
User: 'XXX',
Password: 'XXXX',
CMXKundennummer: XXXXX,
Firma_Nr: 1,
Systemname: 'collmex-test'
});
I get an error
Uncaught TypeError: Cannot read properties of null (reading 'toString')
in check-version.js line 9:
const npmData = JSON.parse(spawnSync('npm', ['view', pkgName, '--json']).stdout.toString())
If i remove the checkVersion() call everything works for me
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels