npm pack missing folder


(Codehunter13) #1

Hi,

when i run npm pack with npm version 6.8.0 i’m missing a folder named core in the resulting tarball
when i run npm pack with npm version 6.4.1 this folder is included.
Any idea why? The pack command is executed on the same folder

Output with 6.4.1 => core is included:

C:\Projects\rel\Pleegzorg\Softwel.Ng\softwel-ng\dist\softwel-ng>npm -v
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘prefix’,
npm verb cli ‘-g’ ]
npm info using npm@6.4.1
npm info using node@v10.14.0
npm verb exit [ 0, true ]
npm timing npm Completed in 170ms
npm info ok
6.4.1

C:\Projects\rel\Pleegzorg\Softwel.Ng\softwel-ng\dist\softwel-ng>npm pack
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘prefix’,
npm verb cli ‘-g’ ]
npm info using npm@6.4.1
npm info using node@v10.14.0
npm verb exit [ 0, true ]
npm timing npm Completed in 132ms
npm info ok
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Users\Glenn.symons\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘pack’ ]
npm info using npm@6.4.1
npm info using node@v10.14.0
npm verb npm-session b54238437145bde4
npm info lifecycle softwel-ng@0.0.2-0~prepublish: softwel-ng@0.0.2-0
npm info lifecycle softwel-ng@0.0.2-0~prepare: softwel-ng@0.0.2-0
npm info lifecycle softwel-ng@0.0.2-0~prepack: softwel-ng@0.0.2-0
npm info lifecycle softwel-ng@0.0.2-0~postpack: softwel-ng@0.0.2-0
npm notice
npm notice package: softwel-ng@0.0.2-0
npm notice === Tarball Contents ===
npm notice 918B package.json
npm notice 118B public_api.d.ts
npm notice 884.2kB softwel-ng-0.0.2-0.tgz
npm notice 2.6kB softwel-ng.d.ts
npm notice 180.0kB softwel-ng.metadata.json
npm notice 463.7kB bundles/softwel-ng.umd.js
npm notice 409.2kB bundles/softwel-ng.umd.js.map
npm notice 164.1kB bundles/softwel-ng.umd.min.js
npm notice 377.9kB bundles/softwel-ng.umd.min.js.map
npm notice 2.5kB esm2015/lib/core/components/auth-callback/auth-callback.component.js
npm notice 3.7kB esm2015/lib/core/components/breadcrumb/breadcrumb.component.js
npm notice 4.8kB esm2015/lib/core/components/content/content.component.js
npm notice 1.6kB esm2015/lib/core/components/footer/footer.component.js
npm notice 6.8kB esm2015/lib/core/components/header/header.component.js
npm notice 4.0kB esm2015/lib/core/components/page/page.component.js
npm notice 7.1kB esm2015/lib/core/components/topmenu/topmenu.component.js
npm notice 14.7kB esm2015/lib/core/core.module.js
npm notice 8.2kB esm2015/lib/core/index.js
npm notice 702B esm2015/lib/core/models/claim.js
npm notice 4.5kB esm2015/lib/core/services/auth-guard.service.js
npm notice 14.0kB esm2015/lib/core/services/authentication.service.js
npm notice 25.7kB esm2015/lib/core/services/breadcrumb.service.js
npm notice 14.1kB esm2015/lib/core/services/configuration.service.js
npm notice 980B esm2015/lib/core/services/ibreadcrumbprovider.service.js
npm notice 19.6kB esm2015/lib/core/services/menu.service.js
npm notice 6.8kB esm2015/lib/core/services/message.service.js
npm notice 6.0kB esm2015/lib/core/services/screen.service.js
npm notice 14.9kB esm2015/lib/core/services/softwel.service.js
npm notice 7.3kB esm2015/lib/core/services/spinner-interceptor.service.js
npm notice 5.4kB esm2015/lib/core/services/spinner.service.js
npm notice 4.7kB esm2015/lib/core/services/token-interceptor.service.js
npm notice 12.9kB esm2015/lib/shared/components/actionbar/actionbar.component.js
npm notice 1.8kB esm2015/lib/shared/components/base-form/base-form.component.js
npm notice 23.4kB esm2015/lib/shared/components/datatablecontainer/datatablecontainer.component.js
npm notice 20.7kB esm2015/lib/shared/components/detail/detail.component.js
npm notice 15.4kB esm2015/lib/shared/components/dynamic-table/dynamic-table.component.js
npm notice 14.1kB esm2015/lib/shared/components/field-autocomplete/field-autocomplete.component.js
npm notice 14.9kB esm2015/lib/shared/components/field-calendar/field-calendar.component.js
npm notice 7.9kB esm2015/lib/shared/components/field-checkbox/field-checkbox.component.js
npm notice 12.2kB esm2015/lib/shared/components/field-dropdown/field-dropdown.component.js
npm notice 13.3kB esm2015/lib/shared/components/field-email/field-email.component.js
npm notice 2.2kB esm2015/lib/shared/components/field-error/field-error.component.js
npm notice 16.6kB esm2015/lib/shared/components/field-gemeente/field-gemeente.component.js
npm notice 10.7kB esm2015/lib/shared/components/field-int/field-int.component.js
npm notice 8.3kB esm2015/lib/shared/components/field-leeftijd/field-leeftijd.component.js
npm notice 14.4kB esm2015/lib/shared/components/field-lookup/field-lookup.component.js
npm notice 12.0kB esm2015/lib/shared/components/field-money/field-money.component.js
npm notice 11.7kB esm2015/lib/shared/components/field-multiselect/field-multiselect.component.js
npm notice 15.4kB esm2015/lib/shared/components/field-radio-button-group/field-radio-button-group.component.js

npm notice === Tarball Details ===
npm notice name: softwel-ng
npm notice version: 0.0.2-0
npm notice filename: softwel-ng-0.0.2-0.tgz
npm notice package size: 1.9 MB
npm notice unpacked size: 6.2 MB
npm notice shasum: 582b63dbc14f46ad85b872969283f0c1e66d0fda
npm notice integrity: sha512-gxpY/dzaJ2O1q[…]bbPjAH7u3Rchw==
npm notice total files: 377
npm notice
softwel-ng-0.0.2-0.tgz
npm verb exit [ 0, true ]
npm timing npm Completed in 3652ms
npm info ok

Output with 6.8.0 => core is not included:

C:\Projects\rel\Pleegzorg\Softwel.Ng\softwel-ng\dist>npm -v
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘prefix’,
npm verb cli ‘-g’ ]
npm info using npm@6.4.1
npm info using node@v10.14.0
npm verb exit [ 0, true ]
npm timing npm Completed in 132ms
npm info ok
6.8.0

C:\Projects\rel\Pleegzorg\Softwel.Ng\softwel-ng\dist>cd softwel-ng

C:\Projects\rel\Pleegzorg\Softwel.Ng\softwel-ng\dist\softwel-ng>npm pack
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘prefix’,
npm verb cli ‘-g’ ]
npm info using npm@6.4.1
npm info using node@v10.14.0
npm verb exit [ 0, true ]
npm timing npm Completed in 139ms
npm info ok
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Users\Glenn.symons\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘pack’ ]
npm info using npm@6.8.0
npm info using node@v10.14.0
npm verb npm-session 826f8cb674cba430
npm info lifecycle softwel-ng@0.0.2-0~prepublish: softwel-ng@0.0.2-0
npm info lifecycle softwel-ng@0.0.2-0~prepare: softwel-ng@0.0.2-0
npm info lifecycle softwel-ng@0.0.2-0~prepack: softwel-ng@0.0.2-0
npm info lifecycle softwel-ng@0.0.2-0~postpack: softwel-ng@0.0.2-0
npm notice
npm notice package: softwel-ng@0.0.2-0
npm notice === Tarball Contents ===
npm notice 918B package.json
npm notice 118B public_api.d.ts
npm notice 2.6kB softwel-ng.d.ts
npm notice 180.0kB softwel-ng.metadata.json
npm notice 463.7kB bundles/softwel-ng.umd.js
npm notice 409.2kB bundles/softwel-ng.umd.js.map
npm notice 164.1kB bundles/softwel-ng.umd.min.js
npm notice 377.9kB bundles/softwel-ng.umd.min.js.map
npm notice 12.9kB esm2015/lib/shared/components/actionbar/actionbar.component.js
npm notice 1.8kB esm2015/lib/shared/components/base-form/base-form.component.js
npm notice 23.4kB esm2015/lib/shared/components/datatablecontainer/datatablecontainer.component.js
npm notice 20.7kB esm2015/lib/shared/components/detail/detail.component.js
npm notice 15.4kB esm2015/lib/shared/components/dynamic-table/dynamic-table.component.js
npm notice 14.1kB esm2015/lib/shared/components/field-autocomplete/field-autocomplete.component.js

npm notice === Tarball Details ===
npm notice name: softwel-ng
npm notice version: 0.0.2-0
npm notice filename: softwel-ng-0.0.2-0.tgz
npm notice package size: 884.2 kB
npm notice unpacked size: 5.0 MB
npm notice shasum: 1abe138ca06accad8ed1cb66eec14ab7d889b8cf
npm notice integrity: sha512-+Nrj66blMrqAL[…]NqkNYbM0om+4Q==
npm notice total files: 310
npm notice
softwel-ng-0.0.2-0.tgz
npm verb exit [ 0, true ]
npm timing npm Completed in 2816ms
npm info ok


(John Gee) #2

See this comment and bug: npm pack leaving out files (6.8.0 only)


(system) closed #3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.