mapbox / mapbox/pbf

import any type error

Open
#92 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
881
Forks
113
PR merge metrics
No merged PRs in 30d

Description

i use google.protobuf.Any type, need import "google/protobuf/any.proto", when i pbf xxx.proto > xxx.js
Error: ENOENT: no such file or directory, open '........./google/protobuf/any.proto', how i to do? thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report concerns compiling xxx.proto with pbf and an import of google/protobuf/any.proto; start by reproducing the ENOENT failure from the command shown. Trace how imported .proto paths are resolved, and consider the issue complete when this import no longer produces the reported missing-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.