You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by wa...@apache.org on 2024/01/25 13:16:03 UTC

(incubator-fury) branch main updated: chore(JavaScript): Fix using npm run build error (#1357)

This is an automated email from the ASF dual-hosted git repository.

wangweipeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-fury.git


The following commit(s) were added to refs/heads/main by this push:
     new c25695c5 chore(JavaScript): Fix using npm run build error (#1357)
c25695c5 is described below

commit c25695c520256aac7adfb5a3ece8f7fabb190acc
Author: LiangliangSui <11...@users.noreply.github.com>
AuthorDate: Thu Jan 25 21:15:59 2024 +0800

    chore(JavaScript): Fix using npm run build error (#1357)
---
 javascript/packages/hps/package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/javascript/packages/hps/package.json b/javascript/packages/hps/package.json
index fdce6f02..704a71b5 100644
--- a/javascript/packages/hps/package.json
+++ b/javascript/packages/hps/package.json
@@ -11,7 +11,7 @@
   "gypfile": false,
   "scripts": {
     "postinstall": "node -e \"if (process.version.match(/v(\\d+)/)[1] >= 20 && process.platform !== 'win32') { require('child_process').execSync('npx node-gyp rebuild') } \"",
-    "build": "npx node-gyp rebuild && tsc",
+    "build": "node -e \"if (process.version.match(/v(\\d+)/)[1] >= 20 && process.platform !== 'win32') { require('child_process').execSync('npx node-gyp rebuild && tsc') } \"",
     "prepublishOnly": "npm run build"
   },
   "license": "Apache",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org