You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# needs deno !!
# https://github.com/denoland/deno_install#install-specific-version
curl -fsSL https://deno.land/x/install/install.sh | sh
######################################################################## 100.0%
Archive: "/Users/apple/.deno"/bin/deno.zip
inflating: "/Users/apple/.deno"/bin/deno
Deno was installed successfully to "/Users/apple/.deno"/bin/deno
Manually add the directory to your $HOME/.zshrc (or similar)
export DENO_INSTALL=""/Users/apple/.deno""
export PATH="$DENO_INSTALL/bin:$PATH"
Run '"/Users/apple/.deno"/bin/deno --help' to get started
# now can install apex
cd apex && "/Users/apple/.deno"/bin/deno install -f -A --unstable ./apex.ts
✅ Successfully installed apex
/Users/apple/.deno/bin/apex
ℹ️ Add /Users/apple/.deno/bin to PATH
export PATH="/Users/apple/.deno/bin:$PATH"
apex version
apex version 0.1.16 darwin/amd64
Now for apex-go:
cd tinyjson/tinyjson && go install .
## now build apex-go
cd apex-go && apex generate
Generating model/msgpack.go...
Compilation error: Error: Dynamic require of "https://deno.land/x/apex_codegen@v0.1.9/go/mod.ts" is not supported
Generating model/wapc.go...
Compilation error: Error: Dynamic require of "https://deno.land/x/wapc_codegen@v0.0.6/tinygo/mod.ts" is not supported
Generating cmd/wapc/main.go...
Compilation error: Error: Dynamic require of "https://deno.land/x/wapc_codegen@v0.0.6/tinygo/mod.ts" is not supported
Generating model/model.go...
Compilation error: Error: Dynamic require of "https://deno.land/x/apex_codegen@v0.1.9/go/mod.ts" is not supported
Formatting model/model.go...
Formatting model/msgpack.go...
Formatting model/wapc.go...
Formatting cmd/wapc/main.go...
Running: tinyjson -all model/model.go
apex: error: Compilation error: Error: Dynamic require of "https://deno.land/x/apex_codegen@v0.1.9/go/mod.ts" is not supported; Compilation error: Error: Dynamic require of "https://deno.land/x/wapc_codegen@v0.0.6/tinygo/mod.ts" is not supported; Compilation error: Error: Dynamic require of "https://deno.land/x/wapc_codegen@v0.0.6/tinygo/mod.ts" is not supported; Compilation error: Error: Dynamic require of "https://deno.land/x/apex_codegen@v0.1.9/go/mod.ts" is not supported
make[1]: *** [Makefile:22: codegen] Error 1
The text was updated successfully, but these errors were encountered:
That looks like the old version of apex based in Go (not Deno). You might need to remove that old version before it works.
Output of apex generate should look like this.
INFO Writing file model/model.go (mode:644)
INFO Formatting file model/model.go
tinyjson -all model/model.go
INFO Writing file model/msgpack.go (mode:644)
INFO Formatting file model/msgpack.go
INFO Writing file model/wapc.go (mode:644)
INFO Formatting file model/wapc.go
INFO Writing file cmd/wapc/main.go (mode:644)
INFO Formatting file cmd/wapc/main.go
am on main branch.
on the latest deno.
install deno and apex...
Now for apex-go:
The text was updated successfully, but these errors were encountered: