[jira] [Commented] (ARROW-13046) [Release] JS package failing test prior to publish

2021-06-18 Thread Kouhei Sutou (Jira)


[ 
https://issues.apache.org/jira/browse/ARROW-13046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17365257#comment-17365257
 ] 

Kouhei Sutou commented on ARROW-13046:
--

Published.

I needed to be logged in to {{registry.yarnpkg.com}} not 
{{registry.npmjs.org}}: {{npm login --registry=https://registry.yarnpkg.com/}}

> [Release] JS package failing test prior to publish
> --
>
> Key: ARROW-13046
> URL: https://issues.apache.org/jira/browse/ARROW-13046
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: JavaScript
>Reporter: Jorge Leitão
>Priority: Major
>
> While trying to publish the JS, I am getting an error when running the tests 
> (on mac).
> To reproduce, run `dev/release/post-05-js.sh 4.0.1` on branch 
> `release-arrow-4.0.1`:
> {code:java}
> ~/projects/arrow/apache-arrow-4.0.1/js ~/projects/arrow
> yarn install v1.22.1
> [1/5]   Validating package.json...
> [2/5]   Resolving packages...
> [3/5]   Fetching packages...
> info google-closure-compiler-linux@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-linux@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> info google-closure-compiler-windows@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-windows@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> [4/5]   Linking dependencies...
> warning "lerna > @lerna/version > @lerna/github-client > @octokit/rest > 
> @octokit/plugin-request-log@1.0.3" has unmet peer dependency 
> "@octokit/core@>=3".
> [5/5]   Building fresh packages...
> warning Your current version of Yarn is out of date. The latest version is 
> "1.22.5", while you're on "1.22.1".
> info To upgrade, run the following command:
> $ brew upgrade yarn
> ✨  Done in 121.72s.
> yarn run v1.22.1
> $ 
> /Users/jorgecarleitao/projects/arrow/apache-arrow-4.0.1/js/node_modules/.bin/gulp
> [05:39:21] Using gulpfile ~/projects/arrow/apache-arrow-4.0.1/js/gulpfile.js
> [05:39:21] Starting 'default'...
> [05:39:21] Starting 'clean'...
> [05:39:21] Starting 'clean:ts'...
> [05:39:21] Starting 'clean:apache-arrow'...
> [05:39:21] Starting 'clean:es5:cjs'...
> [05:39:21] Starting 'clean:es2015:cjs'...
> [05:39:21] Starting 'clean:esnext:cjs'...
> [05:39:21] Starting 'clean:es5:esm'...
> [05:39:21] Starting 'clean:es2015:esm'...
> [05:39:21] Starting 'clean:esnext:esm'...
> [05:39:21] Starting 'clean:es5:cls'...
> [05:39:21] Starting 'clean:es2015:cls'...
> [05:39:21] Starting 'clean:esnext:cls'...
> [05:39:21] Starting 'clean:es5:umd'...
> [05:39:21] Starting 'clean:es2015:umd'...
> [05:39:21] Starting 'clean:esnext:umd'...
> [05:39:21] Finished 'clean:ts' after 211 ms
> [05:39:21] Finished 'clean:apache-arrow' after 199 ms
> [05:39:21] Finished 'clean:es5:cjs' after 195 ms
> [05:39:21] Finished 'clean:es2015:cjs' after 196 ms
> [05:39:21] Finished 'clean:esnext:cjs' after 190 ms
> [05:39:21] Finished 'clean:es5:esm' after 180 ms
> [05:39:21] Finished 'clean:es2015:esm' after 172 ms
> [05:39:21] Finished 'clean:esnext:esm' after 169 ms
> [05:39:21] Finished 'clean:es5:cls' after 151 ms
> [05:39:21] Finished 'clean:es2015:cls' after 146 ms
> [05:39:22] Finished 'clean:esnext:cls' after 163 ms
> [05:39:22] Finished 'clean:es5:umd' after 149 ms
> [05:39:22] Finished 'clean:es2015:umd' after 146 ms
> [05:39:22] Finished 'clean:esnext:umd' after 142 ms
> [05:39:22] Finished 'clean' after 293 ms
> [05:39:22] Starting 'build'...
> [05:39:22] Starting 'build:ts'...
> [05:39:22] Starting 'build:apache-arrow'...
> [05:39:22] Starting 'build:es5:cjs'...
> [05:39:22] Starting 'clean:ts'...
> [05:39:22] Starting 'clean:es5:cjs'...
> [05:39:22] Finished 'clean:ts' after 728 μs
> [05:39:22] Starting 'compile:ts'...
> [05:39:22] Starting 'build:es2015:umd'...
> [05:39:22] Starting 'build:esnext:cjs'...
> [05:39:22] Starting 'build:esnext:esm'...
> [05:39:22] Starting 'build:esnext:umd'...
> [05:39:22] Finished 'clean:es5:cjs' after 11 ms
> [05:39:22] Starting 'compile:es5:cjs'...
> [05:39:22] Starting 'build:es2015:cls'...
> [05:39:22] Starting 'clean:esnext:cjs'...
> [05:39:22] Starting 'clean:esnext:esm'...
> [05:39:22] Starting 'build:esnext:cls'...
> [05:39:22] Starting 'clean:es2015:cls'...
> [05:39:22] Finished 'clean:esnext:cjs' after 30 ms
> [05:39:22] Starting 'compile:esnext:cjs'...
> [05:39:22] Finished 'clean:esnext:esm' after 28 ms
> [05:39:22] Starting 'compile:esnext:esm'...
> [05:39:22] Starting 'clean:esnext:cls'...
> [05:39:22] Finished 'clean:es2015:cls' after 53 ms
> [05:39:22] Starting 'compile:es2015:cls'...
> [05:39:22] Finished 'clean:esnext:cls' after 43 ms
> [05:39:22] Starting 'compile:esnext:cls'...
> [05:39:23] 

[jira] [Commented] (ARROW-13046) [Release] JS package failing test prior to publish

2021-06-15 Thread Jira


[ 
https://issues.apache.org/jira/browse/ARROW-13046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17364070#comment-17364070
 ] 

Jorge Leitão commented on ARROW-13046:
--

Thanks [~domoritz] and [~paul.e.taylor], I cherry-picked that commit on top of 
the release/4.0.1, but the same problem remains.

Note that I am already using 

cd js && ./npm-release.sh

directly, so that we build from the current checked out code (as opposed to 
dev/release/post-05-js.sh that checkouts a clean version from github).


> [Release] JS package failing test prior to publish
> --
>
> Key: ARROW-13046
> URL: https://issues.apache.org/jira/browse/ARROW-13046
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: JavaScript
>Reporter: Jorge Leitão
>Priority: Major
>
> While trying to publish the JS, I am getting an error when running the tests 
> (on mac).
> To reproduce, run `dev/release/post-05-js.sh 4.0.1` on branch 
> `release-arrow-4.0.1`:
> {code:java}
> ~/projects/arrow/apache-arrow-4.0.1/js ~/projects/arrow
> yarn install v1.22.1
> [1/5]   Validating package.json...
> [2/5]   Resolving packages...
> [3/5]   Fetching packages...
> info google-closure-compiler-linux@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-linux@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> info google-closure-compiler-windows@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-windows@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> [4/5]   Linking dependencies...
> warning "lerna > @lerna/version > @lerna/github-client > @octokit/rest > 
> @octokit/plugin-request-log@1.0.3" has unmet peer dependency 
> "@octokit/core@>=3".
> [5/5]   Building fresh packages...
> warning Your current version of Yarn is out of date. The latest version is 
> "1.22.5", while you're on "1.22.1".
> info To upgrade, run the following command:
> $ brew upgrade yarn
> ✨  Done in 121.72s.
> yarn run v1.22.1
> $ 
> /Users/jorgecarleitao/projects/arrow/apache-arrow-4.0.1/js/node_modules/.bin/gulp
> [05:39:21] Using gulpfile ~/projects/arrow/apache-arrow-4.0.1/js/gulpfile.js
> [05:39:21] Starting 'default'...
> [05:39:21] Starting 'clean'...
> [05:39:21] Starting 'clean:ts'...
> [05:39:21] Starting 'clean:apache-arrow'...
> [05:39:21] Starting 'clean:es5:cjs'...
> [05:39:21] Starting 'clean:es2015:cjs'...
> [05:39:21] Starting 'clean:esnext:cjs'...
> [05:39:21] Starting 'clean:es5:esm'...
> [05:39:21] Starting 'clean:es2015:esm'...
> [05:39:21] Starting 'clean:esnext:esm'...
> [05:39:21] Starting 'clean:es5:cls'...
> [05:39:21] Starting 'clean:es2015:cls'...
> [05:39:21] Starting 'clean:esnext:cls'...
> [05:39:21] Starting 'clean:es5:umd'...
> [05:39:21] Starting 'clean:es2015:umd'...
> [05:39:21] Starting 'clean:esnext:umd'...
> [05:39:21] Finished 'clean:ts' after 211 ms
> [05:39:21] Finished 'clean:apache-arrow' after 199 ms
> [05:39:21] Finished 'clean:es5:cjs' after 195 ms
> [05:39:21] Finished 'clean:es2015:cjs' after 196 ms
> [05:39:21] Finished 'clean:esnext:cjs' after 190 ms
> [05:39:21] Finished 'clean:es5:esm' after 180 ms
> [05:39:21] Finished 'clean:es2015:esm' after 172 ms
> [05:39:21] Finished 'clean:esnext:esm' after 169 ms
> [05:39:21] Finished 'clean:es5:cls' after 151 ms
> [05:39:21] Finished 'clean:es2015:cls' after 146 ms
> [05:39:22] Finished 'clean:esnext:cls' after 163 ms
> [05:39:22] Finished 'clean:es5:umd' after 149 ms
> [05:39:22] Finished 'clean:es2015:umd' after 146 ms
> [05:39:22] Finished 'clean:esnext:umd' after 142 ms
> [05:39:22] Finished 'clean' after 293 ms
> [05:39:22] Starting 'build'...
> [05:39:22] Starting 'build:ts'...
> [05:39:22] Starting 'build:apache-arrow'...
> [05:39:22] Starting 'build:es5:cjs'...
> [05:39:22] Starting 'clean:ts'...
> [05:39:22] Starting 'clean:es5:cjs'...
> [05:39:22] Finished 'clean:ts' after 728 μs
> [05:39:22] Starting 'compile:ts'...
> [05:39:22] Starting 'build:es2015:umd'...
> [05:39:22] Starting 'build:esnext:cjs'...
> [05:39:22] Starting 'build:esnext:esm'...
> [05:39:22] Starting 'build:esnext:umd'...
> [05:39:22] Finished 'clean:es5:cjs' after 11 ms
> [05:39:22] Starting 'compile:es5:cjs'...
> [05:39:22] Starting 'build:es2015:cls'...
> [05:39:22] Starting 'clean:esnext:cjs'...
> [05:39:22] Starting 'clean:esnext:esm'...
> [05:39:22] Starting 'build:esnext:cls'...
> [05:39:22] Starting 'clean:es2015:cls'...
> [05:39:22] Finished 'clean:esnext:cjs' after 30 ms
> [05:39:22] Starting 'compile:esnext:cjs'...
> [05:39:22] Finished 'clean:esnext:esm' after 28 ms
> [05:39:22] Starting 'compile:esnext:esm'...
> [05:39:22] Starting 'clean:esnext:cls'...
> [05:39:22] Finished 

[jira] [Commented] (ARROW-13046) [Release] JS package failing test prior to publish

2021-06-15 Thread Paul Taylor (Jira)


[ 
https://issues.apache.org/jira/browse/ARROW-13046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363772#comment-17363772
 ] 

Paul Taylor commented on ARROW-13046:
-

[~jorgecarleitao] Looks like the 4.0.1 branch also needs this commit: 
https://github.com/apache/arrow/commit/3a6f6053c74eb698208395091009ac50be9dc29e

> [Release] JS package failing test prior to publish
> --
>
> Key: ARROW-13046
> URL: https://issues.apache.org/jira/browse/ARROW-13046
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: JavaScript
>Reporter: Jorge Leitão
>Priority: Major
>
> While trying to publish the JS, I am getting an error when running the tests 
> (on mac).
> To reproduce, run `dev/release/post-05-js.sh 4.0.1` on branch 
> `release-arrow-4.0.1`:
> {code:java}
> ~/projects/arrow/apache-arrow-4.0.1/js ~/projects/arrow
> yarn install v1.22.1
> [1/5]   Validating package.json...
> [2/5]   Resolving packages...
> [3/5]   Fetching packages...
> info google-closure-compiler-linux@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-linux@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> info google-closure-compiler-windows@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-windows@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> [4/5]   Linking dependencies...
> warning "lerna > @lerna/version > @lerna/github-client > @octokit/rest > 
> @octokit/plugin-request-log@1.0.3" has unmet peer dependency 
> "@octokit/core@>=3".
> [5/5]   Building fresh packages...
> warning Your current version of Yarn is out of date. The latest version is 
> "1.22.5", while you're on "1.22.1".
> info To upgrade, run the following command:
> $ brew upgrade yarn
> ✨  Done in 121.72s.
> yarn run v1.22.1
> $ 
> /Users/jorgecarleitao/projects/arrow/apache-arrow-4.0.1/js/node_modules/.bin/gulp
> [05:39:21] Using gulpfile ~/projects/arrow/apache-arrow-4.0.1/js/gulpfile.js
> [05:39:21] Starting 'default'...
> [05:39:21] Starting 'clean'...
> [05:39:21] Starting 'clean:ts'...
> [05:39:21] Starting 'clean:apache-arrow'...
> [05:39:21] Starting 'clean:es5:cjs'...
> [05:39:21] Starting 'clean:es2015:cjs'...
> [05:39:21] Starting 'clean:esnext:cjs'...
> [05:39:21] Starting 'clean:es5:esm'...
> [05:39:21] Starting 'clean:es2015:esm'...
> [05:39:21] Starting 'clean:esnext:esm'...
> [05:39:21] Starting 'clean:es5:cls'...
> [05:39:21] Starting 'clean:es2015:cls'...
> [05:39:21] Starting 'clean:esnext:cls'...
> [05:39:21] Starting 'clean:es5:umd'...
> [05:39:21] Starting 'clean:es2015:umd'...
> [05:39:21] Starting 'clean:esnext:umd'...
> [05:39:21] Finished 'clean:ts' after 211 ms
> [05:39:21] Finished 'clean:apache-arrow' after 199 ms
> [05:39:21] Finished 'clean:es5:cjs' after 195 ms
> [05:39:21] Finished 'clean:es2015:cjs' after 196 ms
> [05:39:21] Finished 'clean:esnext:cjs' after 190 ms
> [05:39:21] Finished 'clean:es5:esm' after 180 ms
> [05:39:21] Finished 'clean:es2015:esm' after 172 ms
> [05:39:21] Finished 'clean:esnext:esm' after 169 ms
> [05:39:21] Finished 'clean:es5:cls' after 151 ms
> [05:39:21] Finished 'clean:es2015:cls' after 146 ms
> [05:39:22] Finished 'clean:esnext:cls' after 163 ms
> [05:39:22] Finished 'clean:es5:umd' after 149 ms
> [05:39:22] Finished 'clean:es2015:umd' after 146 ms
> [05:39:22] Finished 'clean:esnext:umd' after 142 ms
> [05:39:22] Finished 'clean' after 293 ms
> [05:39:22] Starting 'build'...
> [05:39:22] Starting 'build:ts'...
> [05:39:22] Starting 'build:apache-arrow'...
> [05:39:22] Starting 'build:es5:cjs'...
> [05:39:22] Starting 'clean:ts'...
> [05:39:22] Starting 'clean:es5:cjs'...
> [05:39:22] Finished 'clean:ts' after 728 μs
> [05:39:22] Starting 'compile:ts'...
> [05:39:22] Starting 'build:es2015:umd'...
> [05:39:22] Starting 'build:esnext:cjs'...
> [05:39:22] Starting 'build:esnext:esm'...
> [05:39:22] Starting 'build:esnext:umd'...
> [05:39:22] Finished 'clean:es5:cjs' after 11 ms
> [05:39:22] Starting 'compile:es5:cjs'...
> [05:39:22] Starting 'build:es2015:cls'...
> [05:39:22] Starting 'clean:esnext:cjs'...
> [05:39:22] Starting 'clean:esnext:esm'...
> [05:39:22] Starting 'build:esnext:cls'...
> [05:39:22] Starting 'clean:es2015:cls'...
> [05:39:22] Finished 'clean:esnext:cjs' after 30 ms
> [05:39:22] Starting 'compile:esnext:cjs'...
> [05:39:22] Finished 'clean:esnext:esm' after 28 ms
> [05:39:22] Starting 'compile:esnext:esm'...
> [05:39:22] Starting 'clean:esnext:cls'...
> [05:39:22] Finished 'clean:es2015:cls' after 53 ms
> [05:39:22] Starting 'compile:es2015:cls'...
> [05:39:22] Finished 'clean:esnext:cls' after 43 ms
> [05:39:22] Starting 'compile:esnext:cls'...
> [05:39:23] 

[jira] [Commented] (ARROW-13046) [Release] JS package failing test prior to publish

2021-06-15 Thread Dominik Moritz (Jira)


[ 
https://issues.apache.org/jira/browse/ARROW-13046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363745#comment-17363745
 ] 

Dominik Moritz commented on ARROW-13046:


Could you try adding this commit: 
https://github.com/apache/arrow/commit/3a6f6053c74eb698208395091009ac50be9dc29e 
(with an updated version to 4.0.1)?The lerna.json file should exist in the js 
directory. Make sure that you are in the directory. 

> [Release] JS package failing test prior to publish
> --
>
> Key: ARROW-13046
> URL: https://issues.apache.org/jira/browse/ARROW-13046
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: JavaScript
>Reporter: Jorge Leitão
>Priority: Major
>
> While trying to publish the JS, I am getting an error when running the tests 
> (on mac).
> To reproduce, run `dev/release/post-05-js.sh 4.0.1` on branch 
> `release-arrow-4.0.1`:
> {code:java}
> ~/projects/arrow/apache-arrow-4.0.1/js ~/projects/arrow
> yarn install v1.22.1
> [1/5]   Validating package.json...
> [2/5]   Resolving packages...
> [3/5]   Fetching packages...
> info google-closure-compiler-linux@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-linux@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> info google-closure-compiler-windows@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-windows@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> [4/5]   Linking dependencies...
> warning "lerna > @lerna/version > @lerna/github-client > @octokit/rest > 
> @octokit/plugin-request-log@1.0.3" has unmet peer dependency 
> "@octokit/core@>=3".
> [5/5]   Building fresh packages...
> warning Your current version of Yarn is out of date. The latest version is 
> "1.22.5", while you're on "1.22.1".
> info To upgrade, run the following command:
> $ brew upgrade yarn
> ✨  Done in 121.72s.
> yarn run v1.22.1
> $ 
> /Users/jorgecarleitao/projects/arrow/apache-arrow-4.0.1/js/node_modules/.bin/gulp
> [05:39:21] Using gulpfile ~/projects/arrow/apache-arrow-4.0.1/js/gulpfile.js
> [05:39:21] Starting 'default'...
> [05:39:21] Starting 'clean'...
> [05:39:21] Starting 'clean:ts'...
> [05:39:21] Starting 'clean:apache-arrow'...
> [05:39:21] Starting 'clean:es5:cjs'...
> [05:39:21] Starting 'clean:es2015:cjs'...
> [05:39:21] Starting 'clean:esnext:cjs'...
> [05:39:21] Starting 'clean:es5:esm'...
> [05:39:21] Starting 'clean:es2015:esm'...
> [05:39:21] Starting 'clean:esnext:esm'...
> [05:39:21] Starting 'clean:es5:cls'...
> [05:39:21] Starting 'clean:es2015:cls'...
> [05:39:21] Starting 'clean:esnext:cls'...
> [05:39:21] Starting 'clean:es5:umd'...
> [05:39:21] Starting 'clean:es2015:umd'...
> [05:39:21] Starting 'clean:esnext:umd'...
> [05:39:21] Finished 'clean:ts' after 211 ms
> [05:39:21] Finished 'clean:apache-arrow' after 199 ms
> [05:39:21] Finished 'clean:es5:cjs' after 195 ms
> [05:39:21] Finished 'clean:es2015:cjs' after 196 ms
> [05:39:21] Finished 'clean:esnext:cjs' after 190 ms
> [05:39:21] Finished 'clean:es5:esm' after 180 ms
> [05:39:21] Finished 'clean:es2015:esm' after 172 ms
> [05:39:21] Finished 'clean:esnext:esm' after 169 ms
> [05:39:21] Finished 'clean:es5:cls' after 151 ms
> [05:39:21] Finished 'clean:es2015:cls' after 146 ms
> [05:39:22] Finished 'clean:esnext:cls' after 163 ms
> [05:39:22] Finished 'clean:es5:umd' after 149 ms
> [05:39:22] Finished 'clean:es2015:umd' after 146 ms
> [05:39:22] Finished 'clean:esnext:umd' after 142 ms
> [05:39:22] Finished 'clean' after 293 ms
> [05:39:22] Starting 'build'...
> [05:39:22] Starting 'build:ts'...
> [05:39:22] Starting 'build:apache-arrow'...
> [05:39:22] Starting 'build:es5:cjs'...
> [05:39:22] Starting 'clean:ts'...
> [05:39:22] Starting 'clean:es5:cjs'...
> [05:39:22] Finished 'clean:ts' after 728 μs
> [05:39:22] Starting 'compile:ts'...
> [05:39:22] Starting 'build:es2015:umd'...
> [05:39:22] Starting 'build:esnext:cjs'...
> [05:39:22] Starting 'build:esnext:esm'...
> [05:39:22] Starting 'build:esnext:umd'...
> [05:39:22] Finished 'clean:es5:cjs' after 11 ms
> [05:39:22] Starting 'compile:es5:cjs'...
> [05:39:22] Starting 'build:es2015:cls'...
> [05:39:22] Starting 'clean:esnext:cjs'...
> [05:39:22] Starting 'clean:esnext:esm'...
> [05:39:22] Starting 'build:esnext:cls'...
> [05:39:22] Starting 'clean:es2015:cls'...
> [05:39:22] Finished 'clean:esnext:cjs' after 30 ms
> [05:39:22] Starting 'compile:esnext:cjs'...
> [05:39:22] Finished 'clean:esnext:esm' after 28 ms
> [05:39:22] Starting 'compile:esnext:esm'...
> [05:39:22] Starting 'clean:esnext:cls'...
> [05:39:22] Finished 'clean:es2015:cls' after 53 ms
> [05:39:22] Starting 'compile:es2015:cls'...
> 

[jira] [Commented] (ARROW-13046) [Release] JS package failing test prior to publish

2021-06-15 Thread Jira


[ 
https://issues.apache.org/jira/browse/ARROW-13046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363421#comment-17363421
 ] 

Jorge Leitão commented on ARROW-13046:
--

[~domoritz], could you guide me here?

Even if I ignore the tests and proceed, I am getting 


{code:java}
yarn run v1.22.1
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be 
forwarded. In a future version, any explicit "--" will be forwarded as-is to 
the scripts.
$ lerna exec npm publish
lerna notice cli v3.22.1
lerna ERR! ENOLERNA `lerna.json` does not exist, have you run `lerna init`?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
{code}

It seems that lerna requires a version in lerna.json? Can I just write 0.0.0? I 
tried using `"version": "4.0.0"`, but I am getting that 

{code}
npm notice === Tarball Contents === 
npm ERR! code E404
npm ERR! 404 Not Found - PUT 
https://registry.yarnpkg.com/@apache-arrow%2fes2015-umd - Not found
npm ERR! 404 
npm ERR! 404  '@apache-arrow/es2015-umd@4.0.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
{code}

(even after `npm login`).

I am a collaborator of apache-arrow in npm, so I should have permissions to do 
this.

> [Release] JS package failing test prior to publish
> --
>
> Key: ARROW-13046
> URL: https://issues.apache.org/jira/browse/ARROW-13046
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: JavaScript
>Reporter: Jorge Leitão
>Priority: Major
>
> While trying to publish the JS, I am getting an error when running the tests 
> (on mac).
> To reproduce, run `dev/release/post-05-js.sh 4.0.1` on branch 
> `release-arrow-4.0.1`:
> {code:java}
> ~/projects/arrow/apache-arrow-4.0.1/js ~/projects/arrow
> yarn install v1.22.1
> [1/5]   Validating package.json...
> [2/5]   Resolving packages...
> [3/5]   Fetching packages...
> info google-closure-compiler-linux@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-linux@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> info google-closure-compiler-windows@20210406.0.0: The platform "darwin" is 
> incompatible with this module.
> info "google-closure-compiler-windows@20210406.0.0" is an optional dependency 
> and failed compatibility check. Excluding it from installation.
> [4/5]   Linking dependencies...
> warning "lerna > @lerna/version > @lerna/github-client > @octokit/rest > 
> @octokit/plugin-request-log@1.0.3" has unmet peer dependency 
> "@octokit/core@>=3".
> [5/5]   Building fresh packages...
> warning Your current version of Yarn is out of date. The latest version is 
> "1.22.5", while you're on "1.22.1".
> info To upgrade, run the following command:
> $ brew upgrade yarn
> ✨  Done in 121.72s.
> yarn run v1.22.1
> $ 
> /Users/jorgecarleitao/projects/arrow/apache-arrow-4.0.1/js/node_modules/.bin/gulp
> [05:39:21] Using gulpfile ~/projects/arrow/apache-arrow-4.0.1/js/gulpfile.js
> [05:39:21] Starting 'default'...
> [05:39:21] Starting 'clean'...
> [05:39:21] Starting 'clean:ts'...
> [05:39:21] Starting 'clean:apache-arrow'...
> [05:39:21] Starting 'clean:es5:cjs'...
> [05:39:21] Starting 'clean:es2015:cjs'...
> [05:39:21] Starting 'clean:esnext:cjs'...
> [05:39:21] Starting 'clean:es5:esm'...
> [05:39:21] Starting 'clean:es2015:esm'...
> [05:39:21] Starting 'clean:esnext:esm'...
> [05:39:21] Starting 'clean:es5:cls'...
> [05:39:21] Starting 'clean:es2015:cls'...
> [05:39:21] Starting 'clean:esnext:cls'...
> [05:39:21] Starting 'clean:es5:umd'...
> [05:39:21] Starting 'clean:es2015:umd'...
> [05:39:21] Starting 'clean:esnext:umd'...
> [05:39:21] Finished 'clean:ts' after 211 ms
> [05:39:21] Finished 'clean:apache-arrow' after 199 ms
> [05:39:21] Finished 'clean:es5:cjs' after 195 ms
> [05:39:21] Finished 'clean:es2015:cjs' after 196 ms
> [05:39:21] Finished 'clean:esnext:cjs' after 190 ms
> [05:39:21] Finished 'clean:es5:esm' after 180 ms
> [05:39:21] Finished 'clean:es2015:esm' after 172 ms
> [05:39:21] Finished 'clean:esnext:esm' after 169 ms
> [05:39:21] Finished 'clean:es5:cls' after 151 ms
> [05:39:21] Finished 'clean:es2015:cls' after 146 ms
> [05:39:22] Finished 'clean:esnext:cls' after 163 ms
> [05:39:22] Finished 'clean:es5:umd' after 149 ms
> [05:39:22] Finished 'clean:es2015:umd' after 146 ms
> [05:39:22] Finished 'clean:esnext:umd' after 142 ms
> [05:39:22] Finished 'clean' after 293 ms
> [05:39:22] Starting 'build'...
> [05:39:22] Starting 'build:ts'...
> [05:39:22] Starting 'build:apache-arrow'...
> [05:39:22] Starting