Skip to content

Could not find package #27

Description

@noel-yap

My protos are defined in a directory src/main/proto. I've placed the protop.json file in the same directory. https://github.com/noel-yap/setter-for-catan-sb/blob/use-protop/src/main/proto/protop.json

In a client project, I've created protop.json as:

{
  "organization" : "noelyap",
  "name" : "setter-for-catan-tsx",
  "version" : "0.1.0",
  "include" : [ "." ],
  "private": true,  
  "dependencies" : {
    "noelyap/setter-for-catan": "git:https://github.com/noel-yap/setter-for-catan-sb/tree/use-protop/src/main/proto"
  }
}

When I run protop sync, it errors with Could not find package noelyap/setter-for-catan https://github.com/noel-yap/setter-for-catan-sb/tree/use-protop/src/main/proto.

I've created a Stackoverflow question for this, too: https://stackoverflow.com/questions/63219696/where-to-place-protop-json-file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions