One-Line Import Fix in Bazable v1.2.0 Resolves CLI Crash Affecting All Commands
Bazable, a Git-native API contract management CLI, suffered a startup crash after the Language Server Protocol (LSP) feature was introduced. Every command, including bazable --version, failed with an ERR_PACKAGE_PATH_NOT_EXPORTED error because the LSP module was loaded at boot. The root cause was an incorrect import path using vscode-languageserver/node.js instead of the documented vscode-languageserver/node subpath, which ES modules do not permit when the package exports field does not define it. Developers fixed the issue with a single-line import correction and also added a --stdio flag to improve manual LSP testing. The patch was shipped in Bazable v1.2.0, immediately restoring full CLI functionality for all users.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in