npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Wanted files ignored when packing

What I Wanted to Do

Pack a module with all files

What Happened Instead

It packed everything except files under cli/tasks/core/*

Reproduction Steps

npm pack


It works well under npm 6.7.0.

Also works well if core directory is renamed to anything else





Platform Info

$ npm --versions
{ npm: '6.8.0',
  ares: '1.15.0',
  brotli: '1.0.7',
  cldr: '34.0',
  http_parser: '2.8.0',
  icu: '63.1',
  llhttp: '1.1.1',
  modules: '67',
  napi: '4',
  nghttp2: '1.34.0',
  node: '11.10.0',
  openssl: '1.1.1a',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.26.0',
  v8: '',
  zlib: '1.2.11' }
$ node -p process.platform

This is fixed in npm@6.9.0 and you can test it in the pre-release: Release: npm@6.9.0-next.0

Thanks works well. Sorry for the duplicate I didn’t find the original bug report.