Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

npm publish logs missing #1082

Closed
Closed

Description

@yippie

Describe the bug
When running sfpowerscripts:orchestrator:publish, if the internal npm publish command fails, its output is not shown or logged anywhere. This means it is very hard to troubleshoot WHY it failed to fix it. All the user knows is that it fails

To Reproduce
Steps to reproduce the behavior:

  • Have a project setup for sfpowerscripts but with bad credentials in .npmrc.
  • run quickbuild and then publish.
  • The publish will fail (because of the bad credentials) but the only information available is Command failed: npm publish --tag develop. Log files in .sfpowerscipts/logs do not contain any additional information

Expected behavior
full output of npm publish to be logged in the log files

Screenshots
If applicable, add screenshots to help explain your problem.

Platform Details (please complete the following information):

  • OS: macOS
  • Version [e.g. CLI Version eg: 1.6.6] @dxatscale/sfpowerscripts 15.3.2
  • Salesforce CLI(sfdx cli) Version: sfdx-cli/7.159.0 darwin-arm64 node-v16.16.0

Activity

  1. added
    analysis
    on Jul 19, 2022
  2. added
    bug
    and removed
    analysis
    on Aug 27, 2022
  3. added a commit that references this issue on Sep 21, 2022
    b973a93
  4. azlam-abdulsalam commented on Sep 21, 2022

    @azlam-abdulsalam
    Contributor

    Fixed in September 22

  5. added a commit that references this issue on Sep 22, 2022
    11814c5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions