idyll-lang/idyll

Issue with global version reporting

開放

#617 建立於 2020年2月26日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (97 個分叉)batch import
CLIRough Edgesbughelp wanted

倉庫指標

星標
 (1,977 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Describe the bug When running idyll --version in a directory outside of an idyll project, I see this:

$ idyll --version

  Using version undefined (installed globally).

  To install local dependencies in an Idyll project that
  you've cloned from GitHub, run `npm install`.

To Reproduce Steps to reproduce the behavior:

  1. Install the latest idyll globally (npm i -g idyll@latest)
  2. Navigate to a folder that does not contain an idyll project
  3. Run idyll --version
  4. See error

Expected behavior The correct version should be printed.

貢獻者指南