[GH-ISSUE #658] A question that has been raised but not resolved #234

Closed
opened 2026-03-16 14:09:44 +03:00 by kerem · 1 comment
Owner

Originally created by @VKingi on GitHub (Mar 11, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/658

Linux: CentOS Linux release 7.7.1908 (Core), nodejs: v12.16.1
windows:10.0.14393,nodejs: v12.13.1

On both platforms, the same error occurs.
I found that there were many people who had the same problem as me, but I found that the real problem was not solved.

The specific error is as follows

Text:

ERROR in ./layouts/default.vue?vue&type=script&lang=js& (./node_modules/babel-lo                                  ader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/d                                  efault.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve '../.postwoman/version.json' in '/root/po                                  stwoman-1.9.0/layouts'
 @ ./layouts/default.vue?vue&type=script&lang=js& (./node_modules/babel-loader/l                                  ib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default                                  .vue?vue&type=script&lang=js&) 676:0-54 745:19-34
 @ ./layouts/default.vue?vue&type=script&lang=js&
 @ ./layouts/default.vue
 @ ./.nuxt/App.js
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

IMG:

image
Ask the community to help me,thanks

Originally created by @VKingi on GitHub (Mar 11, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/658 Linux: CentOS Linux release 7.7.1908 (Core), nodejs: v12.16.1 windows:10.0.14393,nodejs: v12.13.1 > On both platforms, the same error occurs. > I found that there were many people who had the same problem as me, but I found that the real problem was not solved. ### The specific error is as follows #### Text: ~~~ ERROR in ./layouts/default.vue?vue&type=script&lang=js& (./node_modules/babel-lo ader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/d efault.vue?vue&type=script&lang=js&) Module not found: Error: Can't resolve '../.postwoman/version.json' in '/root/po stwoman-1.9.0/layouts' @ ./layouts/default.vue?vue&type=script&lang=js& (./node_modules/babel-loader/l ib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./layouts/default .vue?vue&type=script&lang=js&) 676:0-54 745:19-34 @ ./layouts/default.vue?vue&type=script&lang=js& @ ./layouts/default.vue @ ./.nuxt/App.js @ ./.nuxt/index.js @ ./.nuxt/client.js @ multi ./.nuxt/client.js ~~~ #### IMG: ![image](https://user-images.githubusercontent.com/16144561/76398636-2db21800-63b8-11ea-8be8-b436d7581ebe.png) Ask the community to help me,thanks
kerem closed this issue 2026-03-16 14:09:49 +03:00
Author
Owner

@liyasthomas commented on GitHub (Mar 11, 2020):

#651

Possible root cause of this issue:

When you download the repo as zip, you just download the source files of the most recent commit of the default branch. Essentially, when you download you can’t make use of any git commands, you can’t view the commit messages, you are just not using git at all. We need version.json file which depends on git version tags found in .git directory.

Solution: Instead of downloading the zip and starting the server, try cloning https://github.com/liyasthomas/postwoman.git. Now the version number is correctly fetching from package.json and release tag, so I think it should solve this issue.

Feel free to reopen this issue if you weren't able to get it working.

<!-- gh-comment-id:597520841 --> @liyasthomas commented on GitHub (Mar 11, 2020): #651 Possible root cause of this issue: > When you download the repo as `zip`, you just download the source files of the most recent commit of the default branch. Essentially, when you download you can’t make use of any git commands, you can’t view the commit messages, you are just not using git at all. We need `version.json` file which depends on `git version tags` found in `.git` directory. Solution: Instead of downloading the zip and starting the server, try cloning `https://github.com/liyasthomas/postwoman.git`. Now the version number is correctly fetching from package.json and release tag, so I think it should solve this issue. Feel free to reopen this issue if you weren't able to get it working.
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#234
No description provided.