pinojs / pino

🌲 super fast, all natural json logger
http://getpino.io
MIT License
14.21k stars 875 forks source link

Missing file.js on V7.0.0-rc.4 #1133

Closed simoncrypta closed 3 years ago

simoncrypta commented 3 years ago

Hey everyone, I currently work on upgrading Pino to V7 on RedwoodJS and when I use the target pino/file for transport I got this error :

Cannot find module '/home/simon/redwood/node_modules/pino/file.js'
@redwoodjs/api:     Require stack:
@redwoodjs/api:     - /home/simon/redwood/node_modules/pino/lib/worker.js

When I wrote myself the file.js in /node_modules/pino/ , everything work as expect. I guess it's just forgotten when deliver to NPM.

jsumners commented 3 years ago

Problem is this annoying nonsense -- https://github.com/pinojs/pino/blob/916af455aad308ca980f490ab683dd9f780e130d/package.json#L9-L20

mcollina commented 3 years ago

Fixed in v7.0.0-rc.5

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.