[BUG] EPIPE error occurred during publish usign npm 7
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Hi!
During publishing, an EPIPE error occurred and an issue was posted.
In the past, it has been well published, and recently npm workspace has been applied and the first publish is in progress in this version. In the case of EPIPE errors, it seems to be affected by the number of files or the size of the files, but I don't think this is the case, so I ask a question.
0 verbose cli [
0 verbose cli '/Users/nhn/.nvm/versions/node/v15.14.0/bin/node',
0 verbose cli '/Users/nhn/.nvm/versions/node/v15.14.0/bin/npm',
0 verbose cli 'publish'
0 verbose cli ]
1 info using npm@7.7.6
2 info using node@v15.14.0
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/Users/nhn/.nvm/versions/node/v15.14.0/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/nhn/tui.chart/apps/chart/.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:/Users/nhn/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/Users/nhn/.nvm/versions/node/v15.14.0/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 2ms
16 timing config:load:setEnvs Completed in 0ms
17 timing config:load Completed in 7ms
18 timing npm:load:configload Completed in 8ms
19 timing npm:load:setTitle Completed in 18ms
20 timing npm:load:setupLog Completed in 1ms
21 timing npm:load:cleanupLog Completed in 2ms
22 timing npm:load:configScope Completed in 0ms
23 timing npm:load:projectScope Completed in 0ms
24 timing npm:load Completed in 32ms
25 timing config:load:flatten Completed in 2ms
26 verbose publish [ '.' ]
27 notice
28 notice 📦 @toast-ui/chart@4.3.3
29 notice === Tarball Contents ===
30 notice 5.9kB README.md
30 notice 879B dist/esm/animator.d.ts
30 notice 3.0kB dist/esm/animator.js
30 notice 182B dist/esm/brushes/axis.d.ts
30 notice 469B dist/esm/brushes/axis.js
30 notice 794B dist/esm/brushes/basic.d.ts
30 notice 3.5kB dist/esm/brushes/basic.js
30 notice 153B dist/esm/brushes/boxPlot.d.ts
30 notice 709B dist/esm/brushes/boxPlot.js
30 notice 186B dist/esm/brushes/circleLegend.d.ts
30 notice 871B dist/esm/brushes/circleLegend.js
30 notice 501B dist/esm/brushes/dataLabel.d.ts
30 notice 5.9kB dist/esm/brushes/dataLabel.js
30 notice 200B dist/esm/brushes/exportMenu.d.ts
30 notice 2.0kB dist/esm/brushes/exportMenu.js
30 notice 159B dist/esm/brushes/gauge.d.ts
30 notice 1.3kB dist/esm/brushes/gauge.js
30 notice 926B dist/esm/brushes/label.d.ts
30 notice 5.7kB dist/esm/brushes/label.js
30 notice 403B dist/esm/brushes/legend.d.ts
30 notice 5.2kB dist/esm/brushes/legend.js
30 notice 361B dist/esm/brushes/lineSeries.d.ts
30 notice 1.4kB dist/esm/brushes/lineSeries.js
30 notice 160B dist/esm/brushes/polygon.d.ts
30 notice 702B dist/esm/brushes/polygon.js
30 notice 305B dist/esm/brushes/resetButton.d.ts
30 notice 3.2kB dist/esm/brushes/resetButton.js
30 notice 171B dist/esm/brushes/scatterSeries.d.ts
30 notice 3.9kB dist/esm/brushes/scatterSeries.js
30 notice 156B dist/esm/brushes/sector.d.ts
30 notice 1.9kB dist/esm/brushes/sector.js
30 notice 606B dist/esm/brushes/spectrumLegend.d.ts
30 notice 6.5kB dist/esm/brushes/spectrumLegend.js
30 notice 13.0kB dist/esm/charts/areaChart.d.ts
30 notice 16.7kB dist/esm/charts/areaChart.js
30 notice 10.8kB dist/esm/charts/barChart.d.ts
30 notice 14.5kB dist/esm/charts/barChart.js
30 notice 10.4kB dist/esm/charts/boxPlotChart.d.ts
30 notice 13.2kB dist/esm/charts/boxPlotChart.js
30 notice 9.8kB dist/esm/charts/bubbleChart.d.ts
30 notice 12.4kB dist/esm/charts/bubbleChart.js
30 notice 10.3kB dist/esm/charts/bulletChart.d.ts
30 notice 13.1kB dist/esm/charts/bulletChart.js
30 notice 5.2kB dist/esm/charts/chart.d.ts
30 notice 19.4kB dist/esm/charts/chart.js
30 notice 11.0kB dist/esm/charts/columnChart.d.ts
30 notice 14.3kB dist/esm/charts/columnChart.js
30 notice 14.0kB dist/esm/charts/columnLineChart.d.ts
30 notice 18.1kB dist/esm/charts/columnLineChart.js
30 notice 8.9kB dist/esm/charts/gaugeChart.d.ts
30 notice 12.0kB dist/esm/charts/gaugeChart.js
30 notice 10.4kB dist/esm/charts/heatmapChart.d.ts
30 notice 13.7kB dist/esm/charts/heatmapChart.js
30 notice 13.9kB dist/esm/charts/lineAreaChart.d.ts
30 notice 17.5kB dist/esm/charts/lineAreaChart.js
30 notice 12.8kB dist/esm/charts/lineChart.d.ts
30 notice 16.6kB dist/esm/charts/lineChart.js
30 notice 11.0kB dist/esm/charts/lineScatterChart.d.ts
30 notice 14.1kB dist/esm/charts/lineScatterChart.js
30 notice 8.9kB dist/esm/charts/nestedPieChart.d.ts
30 notice 11.5kB dist/esm/charts/nestedPieChart.js
30 notice 7.9kB dist/esm/charts/pieChart.d.ts
30 notice 10.2kB dist/esm/charts/pieChart.js
30 notice 8.7kB dist/esm/charts/radarChart.d.ts
30 notice 11.2kB dist/esm/charts/radarChart.js
30 notice 9.1kB dist/esm/charts/radialBarChart.d.ts
30 notice 11.9kB dist/esm/charts/radialBarChart.js
30 notice 9.3kB dist/esm/charts/scatterChart.d.ts
30 notice 12.8kB dist/esm/charts/scatterChart.js
30 notice 7.9kB dist/esm/charts/treemapChart.d.ts
30 notice 10.5kB dist/esm/charts/treemapChart.js
30 notice 6.0kB dist/esm/component/areaSeries.d.ts
30 notice 22.1kB dist/esm/component/areaSeries.js
30 notice 1.5kB dist/esm/component/axis.d.ts
30 notice 6.8kB dist/esm/component/axis.js
30 notice 1.1kB dist/esm/component/axisTitle.d.ts
30 notice 2.6kB dist/esm/component/axisTitle.js
30 notice 1.3kB dist/esm/component/axisUsingCenterY.d.ts
30 notice 6.6kB dist/esm/component/axisUsingCenterY.js
30 notice 546B dist/esm/component/backButton.d.ts
30 notice 916B dist/esm/component/backButton.js
30 notice 411B dist/esm/component/background.d.ts
30 notice 500B dist/esm/component/background.js
30 notice 5.7kB dist/esm/component/boxPlotSeries.d.ts
30 notice 19.9kB dist/esm/component/boxPlotSeries.js
30 notice 11.6kB dist/esm/component/boxSeries.d.ts
30 notice 25.0kB dist/esm/component/boxSeries.js
30 notice 3.2kB dist/esm/component/boxStackSeries.d.ts
30 notice 22.1kB dist/esm/component/boxStackSeries.js
30 notice 1.6kB dist/esm/component/bubbleSeries.d.ts
30 notice 8.0kB dist/esm/component/bubbleSeries.js
30 notice 4.2kB dist/esm/component/bulletSeries.d.ts
30 notice 18.8kB dist/esm/component/bulletSeries.js
30 notice 543B dist/esm/component/circleLegend.d.ts
30 notice 1.1kB dist/esm/component/circleLegend.js
30 notice 4.0kB dist/esm/component/component.d.ts
30 notice 6.9kB dist/esm/component/component.js
30 notice 855B dist/esm/component/componentManager.d.ts
30 notice 1.4kB dist/esm/component/componentManager.js
30 notice 1.1kB dist/esm/component/dataLabels.d.ts
30 notice 6.1kB dist/esm/component/dataLabels.js
30 notice 1.4kB dist/esm/component/exportMenu.d.ts
30 notice 5.8kB dist/esm/component/exportMenu.js
30 notice 5.6kB dist/esm/component/gaugeSeries.d.ts
30 notice 20.7kB dist/esm/component/gaugeSeries.js
30 notice 3.0kB dist/esm/component/heatmapSeries.d.ts
30 notice 6.5kB dist/esm/component/heatmapSeries.js
30 notice 1.3kB dist/esm/component/hoveredSeries.d.ts
30 notice 3.9kB dist/esm/component/hoveredSeries.js
30 notice 1.3kB dist/esm/component/legend.d.ts
30 notice 7.0kB dist/esm/component/legend.js
30 notice 3.8kB dist/esm/component/lineSeries.d.ts
30 notice 15.1kB dist/esm/component/lineSeries.js
30 notice 378B dist/esm/component/noDataText.d.ts
30 notice 1.4kB dist/esm/component/noDataText.js
30 notice 5.8kB dist/esm/component/pieSeries.d.ts
30 notice 19.9kB dist/esm/component/pieSeries.js
30 notice 1.6kB dist/esm/component/plot.d.ts
30 notice 7.5kB dist/esm/component/plot.js
30 notice 3.4kB dist/esm/component/radarSeries.d.ts
30 notice 10.7kB dist/esm/component/radarSeries.js
30 notice 1.4kB dist/esm/component/radialAxis.d.ts
30 notice 9.3kB dist/esm/component/radialAxis.js
30 notice 4.4kB dist/esm/component/radialBarSeries.d.ts
30 notice 16.4kB dist/esm/component/radialBarSeries.js
30 notice 2.3kB dist/esm/component/radialPlot.d.ts
30 notice 8.2kB dist/esm/component/radialPlot.js
30 notice 549B dist/esm/component/resetButton.d.ts
30 notice 912B dist/esm/component/resetButton.js
30 notice 1.7kB dist/esm/component/scatterSeries.d.ts
30 notice 7.6kB dist/esm/component/scatterSeries.js
30 notice 1.1kB dist/esm/component/selectedSeries.d.ts
30 notice 4.7kB dist/esm/component/selectedSeries.js
30 notice 788B dist/esm/component/spectrumLegend.d.ts
30 notice 2.7kB dist/esm/component/spectrumLegend.js
30 notice 516B dist/esm/component/title.d.ts
30 notice 1.7kB dist/esm/component/title.js
30 notice 1.5kB dist/esm/component/tooltip.d.ts
30 notice 6.3kB dist/esm/component/tooltip.js
30 notice 3.4kB dist/esm/component/treemapSeries.d.ts
30 notice 9.3kB dist/esm/component/treemapSeries.js
30 notice 407B dist/esm/component/zeroAxis.d.ts
30 notice 1.6kB dist/esm/component/zeroAxis.js
30 notice 2.7kB dist/esm/component/zoom.d.ts
30 notice 6.2kB dist/esm/component/zoom.js
30 notice 592B dist/esm/eventEmitter.d.ts
30 notice 412B dist/esm/eventEmitter.js
30 notice 447B dist/esm/helpers/arrayUtil.d.ts
30 notice 1.4kB dist/esm/helpers/arrayUtil.js
30 notice 3.5kB dist/esm/helpers/axes.d.ts
30 notice 15.8kB dist/esm/helpers/axes.js
30 notice 524B dist/esm/helpers/boxSeries.d.ts
30 notice 2.4kB dist/esm/helpers/boxSeries.js
30 notice 1.5kB dist/esm/helpers/calculator.d.ts
30 notice 5.9kB dist/esm/helpers/calculator.js
30 notice 3.8kB dist/esm/helpers/color.d.ts
30 notice 6.0kB dist/esm/helpers/color.js
30 notice 373B dist/esm/helpers/colorSpectrum.d.ts
30 notice 700B dist/esm/helpers/colorSpectrum.js
30 notice 745B dist/esm/helpers/coordinate.d.ts
30 notice 1.6kB dist/esm/helpers/coordinate.js
30 notice 2.0kB dist/esm/helpers/dataLabels.d.ts
30 notice 16.1kB dist/esm/helpers/dataLabels.js
30 notice 154B dist/esm/helpers/dom.d.ts
30 notice 209B dist/esm/helpers/dom.js
30 notice 480B dist/esm/helpers/downloader.d.ts
30 notice 12.3kB dist/esm/helpers/downloader.js
30 notice 463B dist/esm/helpers/formatDate.d.ts
30 notice 4.6kB dist/esm/helpers/formatDate.js
30 notice 254B dist/esm/helpers/geometric.d.ts
30 notice 977B dist/esm/helpers/geometric.js
30 notice 46B dist/esm/helpers/googleAnalytics.d.ts
30 notice 1.5kB dist/esm/helpers/googleAnalytics.js
30 notice 60B dist/esm/helpers/htmlSanitizer.d.ts
30 notice 3.8kB dist/esm/helpers/htmlSanitizer.js
30 notice 857B dist/esm/helpers/legend.d.ts
30 notice 1.9kB dist/esm/helpers/legend.js
30 notice 1.4kB dist/esm/helpers/pieSeries.d.ts
30 notice 3.4kB dist/esm/helpers/pieSeries.js
30 notice 189B dist/esm/helpers/plot.d.ts
30 notice 198B dist/esm/helpers/plot.js
30 notice 111B dist/esm/helpers/radarSeries.d.ts
30 notice 256B dist/esm/helpers/radarSeries.js
30 notice 507B dist/esm/helpers/range.d.ts
30 notice 538B dist/esm/helpers/range.js
30 notice 2.9kB dist/esm/helpers/responders.d.ts
30 notice 8.0kB dist/esm/helpers/responders.js
30 notice 2.4kB dist/esm/helpers/sector.d.ts
30 notice 4.8kB dist/esm/helpers/sector.js
30 notice 304B dist/esm/helpers/squarifier.d.ts
30 notice 3.9kB dist/esm/helpers/squarifier.js
30 notice 951B dist/esm/helpers/style.d.ts
30 notice 1.6kB dist/esm/helpers/style.js
30 notice 1.7kB dist/esm/helpers/theme.d.ts
30 notice 21.2kB dist/esm/helpers/theme.js
30 notice 140B dist/esm/helpers/tooltip.d.ts
30 notice 528B dist/esm/helpers/tooltip.js
30 notice 1.5kB dist/esm/helpers/tooltipTemplate.d.ts
30 notice 6.1kB dist/esm/helpers/tooltipTemplate.js
30 notice 3.3kB dist/esm/helpers/utils.d.ts
30 notice 7.3kB dist/esm/helpers/utils.js
30 notice 601B dist/esm/helpers/validation.d.ts
30 notice 747B dist/esm/helpers/validation.js
30 notice 2.8kB dist/esm/index.d.ts
30 notice 2.5kB dist/esm/index.js
30 notice 424B dist/esm/message.d.ts
30 notice 803B dist/esm/message.js
30 notice 1.1kB dist/esm/painter.d.ts
30 notice 2.7kB dist/esm/painter.js
30 notice 241B dist/esm/responderDetectors.d.ts
30 notice 5.8kB dist/esm/responderDetectors.js
30 notice 1.0kB dist/esm/scale/coordinateScaleCalculator.d.ts
30 notice 6.8kB dist/esm/scale/coordinateScaleCalculator.js
30 notice 526B dist/esm/scale/datetimeScaleCalculator.d.ts
30 notice 2.6kB dist/esm/scale/datetimeScaleCalculator.js
30 notice 1.2kB dist/esm/store/axes.d.ts
30 notice 13.1kB dist/esm/store/axes.js
30 notice 308B dist/esm/store/category.d.ts
30 notice 2.7kB dist/esm/store/category.js
30 notice 131B dist/esm/store/colorValueScale.d.ts
30 notice 2.3kB dist/esm/store/colorValueScale.js
30 notice 222B dist/esm/store/dataRange.d.ts
30 notice 7.2kB dist/esm/store/dataRange.js
30 notice 154B dist/esm/store/gaugeAxes.d.ts
30 notice 9.6kB dist/esm/store/gaugeAxes.js
30 notice 109B dist/esm/store/heatmapAxes.d.ts
30 notice 4.1kB dist/esm/store/heatmapAxes.js
30 notice 135B dist/esm/store/heatmapSeriesData.d.ts
30 notice 979B dist/esm/store/heatmapSeriesData.js
30 notice 481B dist/esm/store/layout.d.ts
30 notice 20.5kB dist/esm/store/layout.js
30 notice 113B dist/esm/store/legend.d.ts
30 notice 18.4kB dist/esm/store/legend.js
30 notice 139B dist/esm/store/nestedPieSeriesData.d.ts
30 notice 2.2kB dist/esm/store/nestedPieSeriesData.js
30 notice 123B dist/esm/store/options.d.ts
30 notice 2.6kB dist/esm/store/options.js
30 notice 109B dist/esm/store/plot.d.ts
30 notice 4.9kB dist/esm/store/plot.js
30 notice 257B dist/esm/store/radialAxes.d.ts
30 notice 8.7kB dist/esm/store/radialAxes.js
30 notice 1.0kB dist/esm/store/reactive.d.ts
30 notice 6.3kB dist/esm/store/reactive.js
30 notice 109B dist/esm/store/root.d.ts
30 notice 2.1kB dist/esm/store/root.js
30 notice 111B dist/esm/store/scale.d.ts
30 notice 4.6kB dist/esm/store/scale.js
30 notice 121B dist/esm/store/seriesData.d.ts
30 notice 11.7kB dist/esm/store/seriesData.js
30 notice 557B dist/esm/store/stackSeriesData.d.ts
30 notice 7.1kB dist/esm/store/stackSeriesData.js
30 notice 1.2kB dist/esm/store/store.d.ts
30 notice 3.7kB dist/esm/store/store.js
30 notice 111B dist/esm/store/theme.d.ts
30 notice 6.3kB dist/esm/store/theme.js
30 notice 181B dist/esm/store/treemapSeriesData.d.ts
30 notice 3.2kB dist/esm/store/treemapSeriesData.js
30 notice 2.3kB dist/toastui-chart.css
30 notice 1.7MB dist/toastui-chart.js
30 notice 1.9kB dist/toastui-chart.min.css
30 notice 611.5kB dist/toastui-chart.min.js
30 notice 3.1kB package.json
30 notice 772B types/brushes.d.ts
30 notice 3.1kB types/charts.d.ts
30 notice 1.5kB types/components/axis.d.ts
30 notice 214B types/components/circleLegend.d.ts
30 notice 2.8kB types/components/dataLabels.d.ts
30 notice 370B types/components/exportMenu.d.ts
30 notice 608B types/components/legend.d.ts
30 notice 209B types/components/plot.d.ts
30 notice 519B types/components/radialAxis.d.ts
30 notice 334B types/components/radialPlot.d.ts
30 notice 274B types/components/resetButton.d.ts
30 notice 8.4kB types/components/series.d.ts
30 notice 657B types/components/spectrumLegend.d.ts
30 notice 1.2kB types/components/tooltip.d.ts
30 notice 96B types/components/zoom.d.ts
30 notice 234B types/eventEmitter.d.ts
30 notice 15.2kB types/index.d.ts
30 notice 19.7kB types/options.d.ts
30 notice 1.4kB types/resizeObserver.d.ts
30 notice 11.8kB types/store/store.d.ts
30 notice 14.4kB types/theme.d.ts
31 notice === Tarball Details ===
32 notice name: @toast-ui/chart
32 notice version: 4.3.3
32 notice filename: @toast-ui/chart-4.3.3.tgz
32 notice package size: 654.8 kB
32 notice unpacked size: 3.6 MB
32 notice shasum: 6d8248d1eec4a1aa1211db019bda7ce1fb4fc701
32 notice integrity: sha512-BeLXtNp1MaOut[...]Z64fj/AhFlVtA==
32 notice total files: 283
33 notice
34 timing command:publish Completed in 1597ms
35 verbose type system
36 verbose stack FetchError: request to https://registry.npmjs.org/@toast-ui%2fchart failed, reason: write EPIPE
36 verbose stack at ClientRequest.<anonymous> (/Users/nhn/.nvm/versions/node/v15.14.0/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:97:14)
36 verbose stack at ClientRequest.emit (node:events:369:20)
36 verbose stack at TLSSocket.socketErrorListener (node:_http_client:472:9)
36 verbose stack at TLSSocket.emit (node:events:381:22)
36 verbose stack at emitErrorNT (node:internal/streams/destroy:188:8)
36 verbose stack at emitErrorCloseNT (node:internal/streams/destroy:153:3)
36 verbose stack at processTicksAndRejections (node:internal/process/task_queues:81:21)
37 verbose cwd /Users/nhn/tui.chart/apps/chart
38 verbose Darwin 20.4.0
39 verbose argv "/Users/nhn/.nvm/versions/node/v15.14.0/bin/node" "/Users/nhn/.nvm/versions/node/v15.14.0/bin/npm" "publish"
40 verbose node v15.14.0
41 verbose npm v7.7.6
42 error code EPIPE
43 error syscall write
44 error errno EPIPE
45 error request to https://registry.npmjs.org/@toast-ui%2fchart failed, reason: write EPIPE
46 verbose exit 1
Could you give me some hints or the cause of the error?
Expected Behavior
Publishing is successful.
Steps To Reproduce
- In this environment...
- With this config...
- Run
npm publish - See error logs
Environment
- OS: OSX Big Sur 11.3.1
- Node: v15.14.0
- npm: 7.7.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the publish from the reported npm 7.7.6 and Node 15.14.0 environment with the npm workspace setup, then trace the EPIPE failure during publishing. Done means identifying a reproducible cause and verifying that workspace publishing completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100