Skip to content

polyglot-release generates an error if developer hasn't built js messages #180

@luke-hill

Description

@luke-hill

👓 What did you see?

> @cucumber/[email protected] prepare
> make generate

ruby ../jsonschema/scripts/codegen.rb TypeScript ../jsonschema typescript.ts.erb > src/messages.ts
TypeError: Java is not a class
  <main> at ../jsonschema/scripts/codegen.rb:190
make: *** [Makefile:17: src/messages.ts] Error 1
npm ERR! code 2
npm ERR! path /home/luke/Code/messages/javascript
npm ERR! command failed
npm ERR! command sh -c make generate

npm ERR! A complete log of this run can be found in: /home/luke/.npm/_logs/2023-11-01T15_02_44_485Z-debug-0.log

✅ What did you expect to see?

Polyglot-release working

📦 Which tool/library version are you using?

polyglot-release latest
messages v22 (latest)

🔬 How could we reproduce it?

Pull the repo but don't install js packages

📚 Any additional context?


This text was originally generated from a template, then edited by hand. You can modify the template here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions