[GH-ISSUE #1823] npm run generate error #575

Closed
opened 2026-03-16 16:05:35 +03:00 by kerem · 3 comments
Owner

Originally created by @1-bytes on GitHub (Sep 12, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1823

Describe the bug
I'm trying to compile hoppscotch, but it reports an error, see the Screenshots below for details.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/hoppscotch/hoppscotch.git
  2. cd hoppscotch
  3. npm install
  4. npm run generate

Expected behavior
npm build done. 0 error.

Screenshots
image

Desktop (please complete the following information):

  • LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
  • Distributor ID: Ubuntu
  • Description: Ubuntu 20.04.3 LTS
  • Release: 20.04
  • Codename: focal

Additional context

Originally created by @1-bytes on GitHub (Sep 12, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1823 **Describe the bug** I'm trying to compile hoppscotch, but it reports an error, see the Screenshots below for details. **To Reproduce** Steps to reproduce the behavior: 1. git clone https://github.com/hoppscotch/hoppscotch.git 2. cd hoppscotch 3. npm install 4. npm run generate **Expected behavior** npm build done. 0 error. **Screenshots** ![image](https://user-images.githubusercontent.com/17564454/132997114-e216ebb9-1622-4da1-a1ae-314349112604.png) **Desktop (please complete the following information):** - LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch - Distributor ID: Ubuntu - Description: Ubuntu 20.04.3 LTS - Release: 20.04 - Codename: focal **Additional context**
kerem closed this issue 2026-03-16 16:05:40 +03:00
Author
Owner

@1-bytes commented on GitHub (Sep 12, 2021):

NodeJS version 10.19.0
npm version 6.14.4

<!-- gh-comment-id:917679128 --> @1-bytes commented on GitHub (Sep 12, 2021): NodeJS version 10.19.0 npm version 6.14.4
Author
Owner

@AndrewBastin commented on GitHub (Sep 12, 2021):

Hi there, Hoppscotch needs Node version >= 14 to build.
Also make sure you run npm install before running the generate command.

Please close this issue, if the above steps fix your issue.

<!-- gh-comment-id:917689890 --> @AndrewBastin commented on GitHub (Sep 12, 2021): Hi there, Hoppscotch needs Node version >= 14 to build. Also make sure you run `npm install` before running the generate command. Please close this issue, if the above steps fix your issue.
Author
Owner

@1-bytes commented on GitHub (Sep 12, 2021):

I upgraded NodeJS and npm, the problem is solved
thanks :)
@AndrewBastin

<!-- gh-comment-id:917694663 --> @1-bytes commented on GitHub (Sep 12, 2021): I upgraded NodeJS and npm, the problem is solved thanks :) @AndrewBastin
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#575
No description provided.