You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'split' of undefined
at Object.cmp [as default] (/usr/src/app/node_modules/semver-compare/index.js:5:16)
at Object.exports.default (/usr/src/app/node_modules/roarr/dist/cjs/src/factories/createRoarrInitialGlobalState.js:15:80)
at Object.<anonymous> (/usr/src/app/node_modules/roarr/dist/cjs/src/log.js:35:46)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at Module.Hook._require.Module.require (/home/blessuser/.npm/_npx/5f7878ce38f1eb13/node_modules/require-in-the-middle/index.js:80:39)
at require (node:internal/modules/cjs/helpers:92:18)
Error trace
It's happening at this code point
https://github.com/gajus/roarr/blob/master/src/factories/createRoarrInitialGlobalState.ts#L12
I debugged that on my side. The thing happening is
versions
is an array of 1 element:so the sort fn
is receiving
so the
semver-compare
receives something non expected (it expects an string):https://github.com/substack/semver-compare/blob/master/index.js#L2
The text was updated successfully, but these errors were encountered: