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

v2.0.7 pino-dev: command not found #32

Closed
TongChia opened this issue Mar 2, 2022 · 1 comment
Closed

v2.0.7 pino-dev: command not found #32

TongChia opened this issue Mar 2, 2022 · 1 comment

Comments

@TongChia
Copy link

TongChia commented Mar 2, 2022

installed by yarn v1.22.15

  "scripts": {
    "dev": "ts-node-dev --no-notify --respawn --transpile-only src/index.ts -vvv | npx pino-dev"
  },
sh: pino-dev: command not found

i can install it with v2.0.6, but got date-fns error:

Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule
@dnjstrom
Copy link
Owner

dnjstrom commented Mar 4, 2022

Hi @TongChia! Thanks for reporting these issues! 🙌

For the first issue, I recently changed the way new packages are published and it seems the build wasn't actually included in the package contents for version v2.0.7.

About the second issue, it looks like you might be using a preformatted string for the time property rather than a number timestamp? I've updated pino-dev to pass such strings through unchanged rather than attempting to reformat them.

Both issues should be resolved in the latest patch release: v2.0.11. Please try it out and let me know if you have any further issues!

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

No branches or pull requests

2 participants