Skip to content
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 command line throws error unable to load template #707

Closed
HLFrye opened this issue Mar 17, 2017 · 2 comments
Closed

PBTS command line throws error unable to load template #707

HLFrye opened this issue Mar 17, 2017 · 2 comments
Labels

Comments

@HLFrye
Copy link

HLFrye commented Mar 17, 2017

protobuf.js version: 6.7.0

After upgrading to protobuf.js 6.7.0, while running this command:
node_modules/.bin/pbts ./path/to/static-JS-module-generated-by-pbjs.js

We get the following exception:

FATAL: Unable to load template: Cannot find module './lib/tsd-jsdoc/publish'
/Users/user/Dev/project/node_modules/protobufjs/cli/pbts.js:125
throw err;
^

Error: code 1
at ChildProcess. (/Users/user/Dev/project/node_modules/protobufjs/cli/pbts.js:120:27)
at emitTwo (events.js:111:20)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:885:16)
at Socket. (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:501:12)

Running on:
OS: OS X El Capitan (10.11.6)
node: 7.1.0
npm: 3.10.9
bash: 3.2.57(1)-release (x86_64-apple-darwin15)

@dcodeIO
Copy link
Member

dcodeIO commented Mar 17, 2017

It's a bit unclear where jsdoc pulls this from. Please let me know if this fixes it.

@dcodeIO
Copy link
Member

dcodeIO commented Mar 22, 2017

Should be fixed in master.

@dcodeIO dcodeIO closed this as completed Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants