configu / configu

Open-source ConfigOps infrastructure ⚙️

Home Page:https://configu.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix CLI not detecting SQLite store dependency

RichardAkman opened this issue · comments

Actual behavior

When attempting to use the SQLite store via the CLI, an error is thrown that the SQLite package is missing.

To Reproduce

Attempt to use the CLI with the SQLite store with any command, view the screenshot below as a reference.

Expected behavior

This error shouldn't occur.

Screenshots

image

Additional context

The SQLite store uses ORM which expects the sqlite3 package as a dependency. The Node SDK has this package as a dependency and the CLI has the SDK as a dependency so this issue is perplexing, especially considering other ORM stores do not have this issue.

Upon further research, attempting to install the package directly on the CLI and performing oclif build does not help either. Using the development bin within the CLI does not trigger this issue, this problem seems to have to do with how the bin is built, perhaps it does not take the latest dependencies into account.