<#441 devDependency: @types/pino-pretty needed> Is...
# pact-js-development
g
#441 devDependency: @types/pino-pretty needed Issue created by Hal-22 Thank you for reporting a bug! We appreciate it very much. Issues are a big input into the priorities for Pact development All italic text in this template is safe to remove before submitting Thanks again! Software versions Please provide at least OS and version of pact-js Typescript is throwing errors when using pact-node due to not having the types for pino-pretty. Need
@types/pino-pretty
added to the
devDependencies
section of the package.json • OS: _e.g. Mac OSX 13.3.1 • Pact Node version: 10.17.7 • Other Versions: Any other versions you think might be relevant (optional) Issue Checklist Please confirm the following: ☑︎ I have upgraded to the latest ☑︎ I have the read the FAQs in the Readme ☑︎ I have triple checked, that there are no unhandled promises in my code ☐ I have set my log level to debug and attached a log file showing the complete request/response cycle ☐ For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem Expected behaviour no error Actual behaviour
Cannot find type definition file for 'pino-pretty'. The file is in the program because: Entry point for implicit type library 'pino-pretty'
Steps to reproduce How can someone else reproduce this bug? Install the package to a repo that uses typescript Relevant log files Please ensure you set logging to
DEBUG
and attach any relevant log files here (or link to a gist).
pact-foundation/pact-js-core