gugod / gugod/App-jt

dependency failure -- from MooX::Options

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

This server has no jq, fx, or other tools, and I can't touch the system. But I can put tools in my home and local-lib ! Thank you...

```
$ cpanm App::jt
--> Working on App::jt
Fetching http://www.cpan.org/authors/id/G/GU/GUGOD/App-jt-0.43.tar.gz ... OK
Configuring App-jt-0.43 ... OK
==> Found dependencies: JSON::Path, Hash::Flatten, Text::CSV, MooX::Options
...
Building and testing App-jt-0.43 ... OK
Successfully installed App-jt-0.43
34 distributions installed
$ jt . < applog.json
Can't locate Data/Record.pm in @INC (you may need to install the Data::Record module) (@INC contains: @{LOCALLIBS} /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18) at /usr/local/share/perl/5.18.2/Module/Runtime.pm line 314.
```

The fault is in MooX::Options package, and I have [reported the error](https://github.com/celogeek/MooX-Options/issues/78).

However, @celogeek hasn't touched that repo (or any perl repo) in years, nor responded to any bug reports.

So, you might want to add `Data::Record` (and `Regexp::Common` !) to your own dependencies.

Cheers, and thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting App::jt's declared dependencies and the `jt` installation path described in the report. Verify whether `Data::Record` and `Regexp::Common` are included, then reproduce the cpanm installation and `jt . < applog.json` command. Done means installation includes the missing modules and the command no longer fails with the reported missing-module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.