Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: cpanm install test-dependencies

by hippo (Bishop)
on Oct 11, 2022 at 09:10 UTC ( [id://11147344]=note: print w/replies, xml ) Need Help??


in reply to Re^2: cpanm install test-dependencies
in thread cpanm install test-dependencies

Instead of debugging all that, here's my SSCCE showing --installdeps happily trying to install the test requirements. I've intentionally used deps which don't exist.

$ ls cpanfile $ cat cpanfile on 'test' => sub { requires 'Nosuch', '1.0'; suggests 'Stillno', '1.0'; }; $ cpanm -S --installdeps . --> Working on . Configuring /tmp/testreq ... OK ==> Found dependencies: Nosuch ! Finding Nosuch (1.0) on mirror https://cpan.metacpan.org failed. ! Couldn't find module or a distribution Nosuch (1.0) ! Installing the dependencies failed: Module 'Nosuch' is not installed ! Bailing out the installation for .. $

Hopefully you can use this as a starting point to see why your deps are being ignored.


🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147344]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-20 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found