-
-
Notifications
You must be signed in to change notification settings - Fork 287
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- pnpm i -g install go-ios
- pnpm approve-builds -g
- See error
Expected behavior
Install on M4 with pnpm
Screenshots
Desktop (please complete the following information):
- OS: macOS
- Safari
- Version 26.1
Smartphone (please complete the following information):
- Device: iPhone 13 min
- OS: iOS 26.1
- Browser Safari
- Version 26.1
Additional context
pnpm approve-builds -g
✔ Choose which packages to build (Press to select, to toggle all, to invert selection) · go-ios
✔ The next packages will now be built: go-ios.
Do you approve? (y/N) · true
.pnpm/go-ios@1.0.188/node_modules/go-ios: Running postinstall script, failed in 172ms
.pnpm/go-ios@1.0.188/node_modules/go-ios postinstall$ node postinstall.js install
│ Copying the relevant binary for your platform darwin
│ using amd64 build on M1 mac
│ node:path:1272
│ validateString(path, paths[${i}]);
│ ^
│ TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received null
│ at resolve (node:path:1272:7)
│ at pathArg (/Users/alexgao/Library/pnpm/global/5/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/path-arg.js:15:10)
│ at mkdirp (/Users/alexgao/Library/pnpm/global/5/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/index.js:10:10)
│ at getInstallationPath (/Users/alexgao/Library/pnpm/global/5/.pnpm/go-ios@1.0.188/node_modules/go-ios/postinstall.js:50:…
│ at verifyAndPlaceBinary (/Users/alexgao/Library/pnpm/global/5/.pnpm/go-ios@1.0.188/node_modules/go-ios/postinstall.js:58…
│ at Object.install (/Users/alexgao/Library/pnpm/global/5/.pnpm/go-ios@1.0.188/node_modules/go-ios/postinstall.js:167:11) {
│ code: 'ERR_INVALID_ARG_TYPE'
│ }
│ Node.js v22.21.1
└─ Failed in 172ms at /Users/alexgao/Library/pnpm/global/5/.pnpm/go-ios@1.0.188/node_modules/go-ios
ELIFECYCLE Command failed with exit code 1