Giter VIP home page Giter VIP logo

Comments (5)

navono avatar navono commented on May 25, 2024 5

When I add .cmd to the protoc-gen-ts, will cause

'.' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
--ts_out: protoc-gen-ts: Plugin failed with status code 1.

means '.' Not an internal or external command, or a runnable program or batch file

from ts-protoc-gen.

navono avatar navono commented on May 25, 2024 1

related to issue 15, it must be absolute path or add %CD%.

from ts-protoc-gen.

navono avatar navono commented on May 25, 2024

with the command:

protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./src --ts_out=./src -I src/ proto/hackernews.proto

In Win10, it prompt

--ts_out: protoc-gen-ts: %1 不是有效的 Win32 应用程序。

means "Not a valid Win32 application. "

from ts-protoc-gen.

aWeinzierl avatar aWeinzierl commented on May 25, 2024

works fine, thanks

How about a clue in the readme?

from ts-protoc-gen.

navono avatar navono commented on May 25, 2024

maybe a PR?

from ts-protoc-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.