Comments (10)
@qti3e
Yes, thanks for your help.
I have build success in my mac.
When I run make
, I got some error message like this
protoc --go_out=. msg.proto protoc-gen-go: program not found or is not executable
I type conmand below
export PATH="$PATH:$GOPATH/bin"
It is work fine for me.
Hope my solution can help some macOS user.
from deno.
@qti3e Thanks! make
(under GOPATH/src/github.com/ry/deno) works.
@yuqingc Thanks too.
from deno.
Thank you guys.
from deno.
$ go version
go version go1.10.2 darwin/amd64
from deno.
The error states that BaseMsg
is undefined, and that's because BaseMsg
is defined inside msg.pb.go
, this file should be generated using:
protoc --go_out=. msg.proto
and actually that's not how you supposed to build deno, you should use make deno
, it will do all the build-related stuff for you : )
PS make sure you have all the deps (read README)
sudo apt-get install libgtk-3-dev pkg-config ccache
from deno.
When i run go get -u github.com/ry/deno/...,
I got the same error.
I found BaseMsg is not defined in the dispatch.go.
BaseMsg should be a struct, but it is not defined.
from deno.
FYI: BaseMsg is defined inside msg.pb.go
type BaseMsg struct {
Channel string `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
from deno.
Met the same error, but I guess you can still run the rest build steps successfully.
from deno.
@ulivz yes.
from deno.
@ztplz Have you solved your issue...?
from deno.
Related Issues (20)
- `deno publish --dry-run` doesn't detect missing deno.json(c) file.
- Import private module from npm registiry HOT 5
- Bug: wrong return value for node `worker_thread.terminate()`
- specs::test::worker_large_output is flaky
- Node compat tests hang for a long time
- internet/test-dns-any.js is flaky
- LSP incorrectly formatted JSDoc in code completions
- error: File name too long (os error 63) HOT 1
- homedir() returns `null` on Amazon Linux 2023
- `geteuid` missing from `node:process`
- Bug: `port.addListener` is not a function
- VS Code: "Not prefixed with... and not in import map from ..."
- Run SvelteKit dev server without DENO_FUTURE=1 HOT 1
- `deno serve`: support using the fetch handler as the default export HOT 2
- deno serve should support `--port 0`
- `inspector_profile` integration test is flaky
- Invalid cron schedule
- `Deno.serve`: If there is an error processing the response body the server crashes. HOT 3
- Bug: Node `vm` doesn't have Node's `global` global HOT 6
- Bug: `worker_threads` missing `MessagePort` conversion in deeply nested object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.