-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pbts cannot find jsdoc #622
Comments
There is no |
On first run of
These are intentionally installed to When running |
Found it, hardcoded here. |
https://github.com/dcodeIO/protobuf.js/blob/6.4.3/cli/pbts.js#L98 basedir should be
Where is |
Yeah, because the config is still in the basedir. This required another lookup just for jsdoc. Try with the commit above! |
The latter does the same, just a bit simpler. |
On npm now as 6.4.4, thanks! |
protobuf.js version: 6.4.3
OS: windows 10 x64
pbts
fails to run, because it cannot find jsdoc module. Maybe affected by #618?repro step
greeter.proto
is Greeter example.Run
node_modules\.bin\pbjs --target static-module --wrap commonjs greeter.proto >greeter.js
. This step installs CLI dependency and runs as expected.Run
node_modules\.bin\pbts greeter.js > greeter.d.ts
, fails to run.error output
The text was updated successfully, but these errors were encountered: