Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛next版本window10安装依赖异常,无法参与贡献 #2679

Open
5 tasks
wander-sky opened this issue Apr 24, 2024 · 4 comments
Open
5 tasks

🐛next版本window10安装依赖异常,无法参与贡献 #2679

wander-sky opened this issue Apr 24, 2024 · 4 comments
Labels
💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 next 2.0-next 版本的问题

Comments

@wander-sky
Copy link

🏷 Version

pnpm version: 8.15.7
node version: v20.12.0
npm 10.5.0

Package Version
@antv/s2
@antv/s2-react
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

1.拉取next代码
2.执行pnpm bootstrap
3.报错
node_modules/.pnpm/core-js@2.6.12/node_modules/core-js: Running postinstall script, done in 134ms
node_modules/.pnpm/iltorb@2.4.5/node_modules/iltorb: Running install script, failed in 2s
.../iltorb@2.4.5/node_modules/iltorb install$ node ./scripts/install.js || node-gyp rebuild
│ info looking for cached prebuild @ C:\Users\Mi\AppData\Roaming\npm-cache_prebuilds\28c10a-iltorb-v2.4.5-node-v115-win32-x64.tar.gz
│ http request GET https://github.com/nstepien/iltorb/releases/download/v2.4.5/iltorb-v2.4.5-node-v115-win32-x64.tar.gz
│ http 404 https://github.com/nstepien/iltorb/releases/download/v2.4.5/iltorb-v2.4.5-node-v115-win32-x64.tar.gz
│ WARN install No prebuilt binaries found (target=20.12.0 runtime=node arch=x64 libc= platform=win32)
C:\Users\San\Desktop\S2\node_modules.pnpm\iltorb@2.4.5\node_modules\iltorb>if not defined npm_config_node_gyp (node "C:\Users\San\AppData\Roaming\npm\node_modules\pnpm\dist\node-gyp-bin\..\node_modules\node-g…
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.4.1
│ gyp info using node@20.12.0 | win32 | x64
│ gyp ERR! find Python

初步排查是iltorb 执行 ./scripts/install.js 脚本时,prebuildRC方法生成的opts.abi为115导致无法从github拉取正确的iltorb压缩包导致

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

Environment Info
System
Browser
@wander-sky
Copy link
Author

已经尝试两台window系统复现,均出现该问题

@lijinke666
Copy link
Member

试一下 node 版本降级到 18 pnpm/pnpm#2135 (comment)

@wander-sky
Copy link
Author

@lijinke666 还是不可以

@lijinke666
Copy link
Member

我这边没 Windows 电脑, 没法复现

@lijinke666 lijinke666 added the next 2.0-next 版本的问题 label Apr 30, 2024
@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 next 2.0-next 版本的问题
Projects
None yet
Development

No branches or pull requests

2 participants