Lint-staged: v4.2.0 can't be installed because index.js is missing

Created on 15 Sep 2017  路  5Comments  路  Source: okonet/lint-staged

The latest release v4.2.0 is broken:

npm ERR! path /Users/tim/[...]/node_modules/lint-staged/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/tim/[...]/node_modules/lint-staged/index.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

I think this can only be fixed by releasing a new patch version, which includes the index.js.

CC @okonet

Most helpful comment

@okonet it's a nice tool, but I think it's already covered by our ESLint and it's enough. I also think that we barely change our main, bin, and files field, right?

All 5 comments

See #283, i've proposed a bugfix. Sorry 馃槩

No worries :) I rolled back to 4.1.3 in the meantime. Also didn't see this change in the release changelog.

It's just a regular houskeeping I did in #250 (no feature added, no API changed)
I just missed the index.js 鉁岋笍 馃槥

a new patch version should be released soon!

@luftywiranda13 did you see https://github.com/typicode/pkg-ok? Should we use it or is ESLint rule enough?

@okonet it's a nice tool, but I think it's already covered by our ESLint and it's enough. I also think that we barely change our main, bin, and files field, right?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thedamon picture thedamon  路  3Comments

awebdeveloper picture awebdeveloper  路  9Comments

okonet picture okonet  路  6Comments

jitenderchand1 picture jitenderchand1  路  3Comments

benjamincharity picture benjamincharity  路  4Comments