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.

贡献者指南