Skip to content

Running dpx with a package globally activated with -spath, prompts for install #16

@matthewnitschke-wk

Description

@matthewnitschke-wk

Please include the following information:

  • Dart SDK version (dart --version): 2.19.6
  • dpx version (dpx --version): 0.0.0

If I have a dart package installed locally on my machine (via dart pub global activate -spath ./path/to/dart/package), running dpx cmd_name will still prompt for installation event though its available

# install via -spath
$ dart pub global activate -spath ./scip-dart

# run via dpx
$ dpx scip_dart ./
Need to install the following packages:
scip_dart
Ok to proceed? (y/n)

Is this functionality expected? I would anticipate dpx to prioritize whatever is installed globally, regardless of how it was installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions