[GH-ISSUE #4227] [bug]: Installing CLI 0.10.0 in Docker requires dependencies which are not documented #1525

Closed
opened 2026-03-16 20:42:05 +03:00 by kerem · 2 comments
Owner

Originally created by @RaHehl on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4227

Originally assigned to: @jamesgeorge007 on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

For using hoppscotch cli in CI/CD pipelines in Gitlab we create a Docker image containing hoppscotch cli.

Base Image is node:20-alpine

Install Command is "npm install --global @hoppscotch/cli@0.10.0"

First error we got is missing pnpm:

image

Then tsup

image

Then typescript:

image

and after adding typescript we got the next errors, where we stopped trying:

image

In case this is not a bug, i would ask you to provide a ready to use image with CLI.

Steps to reproduce

Environment

Production

Version

Self-hosted

Originally created by @RaHehl on GitHub (Jul 31, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4227 Originally assigned to: @jamesgeorge007 on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior For using hoppscotch cli in CI/CD pipelines in Gitlab we create a Docker image containing hoppscotch cli. Base Image is `node:20-alpine` Install Command is "npm install --global @hoppscotch/cli@0.10.0" First error we got is missing pnpm: ![image](https://github.com/user-attachments/assets/bd8d0b0c-dc87-4d11-816d-79dd2f201dce) Then tsup ![image](https://github.com/user-attachments/assets/fe7edfea-bbbb-4b58-b685-7909f8be3a05) Then typescript: ![image](https://github.com/user-attachments/assets/8f2bd956-c5bb-4f41-96bc-68a19a00977a) and after adding typescript we got the next errors, where we stopped trying: ![image](https://github.com/user-attachments/assets/3373ca50-5877-4155-a7f5-7d46fc3ec2d2) In case this is not a bug, i would ask you to provide a ready to use image with CLI. ### Steps to reproduce - ### Environment Production ### Version Self-hosted
kerem 2026-03-16 20:42:05 +03:00
  • closed this issue
  • added the
    bug
    cli
    labels
Author
Owner

@jamesgeorge007 commented on GitHub (Jul 31, 2024):

Hi, we've identified the root cause of this issue and a fix is up #4229 on this front. It'll be addressed in a patch release for the CLI soon.

<!-- gh-comment-id:2260532508 --> @jamesgeorge007 commented on GitHub (Jul 31, 2024): Hi, we've identified the root cause of this issue and a fix is up #4229 on this front. It'll be addressed in a patch release for the CLI soon.
Author
Owner

@jamesgeorge007 commented on GitHub (Jul 31, 2024):

The patch has been released in Hoppscotch CLI v0.10.1. Please let us know if the issue persists.

<!-- gh-comment-id:2260603774 --> @jamesgeorge007 commented on GitHub (Jul 31, 2024): The patch has been released in [Hoppscotch CLI v0.10.1](https://www.npmjs.com/package/@hoppscotch/cli/v/0.10.1). Please let us know if the issue persists.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1525
No description provided.