MechanicalHuman / dev-bunyan-pretty

Pretty format for Bunyan/Pino logs, similar to `bunyan -o short` but actually pretty.
MIT License
6 stars 4 forks source link

Cannot `npm install` version 2.1.1 #1

Closed geek0x23 closed 5 years ago

geek0x23 commented 5 years ago

It looks like the bin section of package.json was updated to bin/pretty in 2.1.1. Unfortunately, the file is actually bin/pretty.js and so when you npm install the 2.1.1 version, it fails with this error:

npm ERR! path /Users/scott/dev/test-project/node_modules/@mechanicalhuman/bunyan-pretty/bin/pretty
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/scott/dev/test-project/node_modules/@mechanicalhuman/bunyan-pretty/bin/pretty'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/scott/.npm/_logs/2019-02-21T16_34_27_357Z-debug.log

When I install version 2.0.8 instead, this problem does not occur.

MechanicalHuman commented 5 years ago

OMG! I'm so sorry about that.

I just published version 2.1.2 with a fix.