UnhandledPromiseRejectionWarning: TypeError: methodTypings.generateTypings is not a function
GeoSkyGPS opened this issue · comments
geoskygps commented
Describe the bug
When using npm run generator-client
from my project folder or using circleCI workflows to deploy I get the following error when generating a client.
(node:6008) UnhandledPromiseRejectionWarning: TypeError: methodTypings.generateTypings is not a function
To Reproduce
Steps to reproduce the behavior:
Create a nodeJS openRPC project
then execute npm run generator-client
Expected behavior
I expected a client to be generated
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Ubuntu 18.04 and through circleCI
- Version 1.13.0
geoskygps commented
The issue is with latest package "@open-rpc/typings": "1.6.0".
Downgrading to "@open-rpc/typings": "1.5.0" solves problems with npm run generator-client
Zachary Belford commented
fixed