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
Since the 2.2.4 update, I get a module not found error when trying to run sscli:
$ sscli --version
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'cosmiconfig' imported from /Users/johnmills/.nvm/versions/node/v18.15.0/lib/node_modules/static-sitemap-cli/src/cli.js
at new NodeError (node:internal/errors:399:5)
at packageResolve (node:internal/modules/esm/resolve:889:9)
at moduleResolve (node:internal/modules/esm/resolve:938:20)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v18.15.0
Sometimes it works with different versions of Node, but there is no consistency. Reverting to the 2.2.3 version resolves the issue.
The text was updated successfully, but these errors were encountered:
Since the 2.2.4 update, I get a module not found error when trying to run sscli:
$ sscli --version
Sometimes it works with different versions of Node, but there is no consistency. Reverting to the 2.2.3 version resolves the issue.
The text was updated successfully, but these errors were encountered: