subql icon indicating copy to clipboard operation
subql copied to clipboard

`codegen` missing protobuf interface on Windows OS

Open bz888 opened this issue 2 years ago • 0 comments

Prerequisites

  • [x] Are you running the latest version(s)?
  • [x] Have you searched the documentation for your issue?
  • [x] Did you search for an existing issue or pull request?

Description

On windows OS, codegen for cosmos projects will fail to build due to @protobuf download. The issue is the pathing of the generate protobuf files

[Description of the bug or feature]

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: [You can get this information from executing subql version.] Query Version: [What is the version of the query service?] Indexer Version: [What is the version of the indexer service?] Network Details:

  • [Network]
  • [Block height, a block height where the issue is happening]
  • [Dictionary endpoint, if used]

Steps to Reproduce

On windows OS, install any project with chaintypes

  • yarn codegen
  • yarn build (will fail due to missing files)

image

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Example project: [A link to a minimal example that can reproduce the issue]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Any other information

Is there any other information you would like to add?

bz888 avatar Oct 20 '23 06:10 bz888