You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "amoeba (via GitHub)" <gi...@apache.org> on 2024/11/26 20:51:11 UTC

Re: [I] [JS][Release] Wrong -.tar.gz name on arrow2csv fails when publishing [arrow]

amoeba commented on issue #44585:
URL: https://github.com/apache/arrow/issues/44585#issuecomment-2501910969

   @kou kindly pointed this issue to me while I was working on the 18.1.0 post-release tasks so I haven't attempted to publish 18.1.0 to NPM yet.
   
   I did a dry-run and was able to reproduce something similar to the above:
   
   ```
   11 silly logfile start cleaning logs, removing 1 files
   12 verbose publish [
   12 verbose publish   '/Users/bryce/src/apache/arrow/apache-arrow-18.1.0/js/targets/ts/bin'
   12 verbose publish ]
   13 silly logfile done cleaning log files
   14 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
   15 warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
   16 warn publish errors corrected:
   16 warn publish Missing "name" field was set to an empty string
   17 notice
   18 notice 📦  @
   19 notice Tarball Contents
   20 notice 248.2kB Arrow.js
   20 notice 23.4kB arrow2csv.js
   20 notice 13.3kB arrow2csv.ts
   20 notice 20B package.json
   21 notice Tarball Details
   22 notice name: 
   23 notice version: 
   24 notice filename: -.tgz
   25 notice package size: 66.6 kB
   26 notice unpacked size: 285.0 kB
   27 notice shasum: ac29699beca57a8c8a20fef88d9c3d2b83934dce
   28 notice integrity: sha512-2vcxFjK8cZ+Q5[...]/6uMhk+7VGK8Q==
   29 notice total files: 4
   30 notice
   31 verbose stack Error: Invalid tag name "@latest" of package "@latest": Tags may not have any characters that encodeURIComponent encodes.
   31 verbose stack     at invalidTagName (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:118:15)
   31 verbose stack     at fromRegistry (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:410:13)
   31 verbose stack     at resolve (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:87:12)
   31 verbose stack     at npa (/opt/homebrew/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:53:10)
   31 verbose stack     at #publish (/opt/homebrew/lib/node_modules/npm/lib/commands/publish.js:128:5)
   31 verbose stack     at async Publish.exec (/opt/homebrew/lib/node_modules/npm/lib/commands/publish.js:46:5)
   31 verbose stack     at async Npm.exec (/opt/homebrew/lib/node_modules/npm/lib/npm.js:207:9)
   31 verbose stack     at async module.exports (/opt/homebrew/lib/node_modules/npm/lib/cli/entry.js:74:5)
   32 error code EINVALIDTAGNAME
   33 error Invalid tag name "@latest" of package "@latest": Tags may not have any characters that encodeURIComponent encodes.
   ```
   
   Though it's interesting that the specific error is different. I'll have a look.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org