npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm 6.8.0 does not publish specific directory

I have a problem with npm 6.8.0 behaviour

Steps to reproduce:

Expected result

Actual result

I’m not sure why npm 6.8.0 behaves like so, but I’d greatly appreciate if it would explain it somehow or just stop doing so.

P.S. I’m running npm under Linux, 64bit, node 8.14.1.

Looks like it was already explained here: npm pack leaving out files (6.8.0 only).

So, let’s just wait until 6.9.0, then :slight_smile:

Closing as duplicate :slight_smile: