infinitered / infinitered/ignite
npx ignite-cli doctor throw error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 19.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
windows 10
android home have set
(base) PS C:\Users\xx> $env:ANDROID_HOME
C:\Users\xx\AppData\Local\Android\Sdk
ignite-cli have installed
(base) PS C:\Users\xx> ignite-cli -v
11.4.0
running this command occur error
(base) PS C:\Users\xx> npx ignite-cli doctor
System
platform win32
arch x64
cpu 20 cores 12th Gen Intel(R) Core(TM) i7-12700H
directory xx C:\Users\xx
C:\Users\xx\AppData\Roaming\npm\node_modules\ignite-cli\node_modules\gluegun\build\index.js:15
throw up;
^
TypeError: Cannot read properties of null (reading 'split')
at Command. (C:\Users\xx\AppData\Roaming\npm\node_modules\ignite-cli\build\commands\doctor.js:49:59)
at Generator.next ()
at fulfilled (C:\Users\xx\AppData\Roaming\npm\node_modules\ignite-cli\build\commands\doctor.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Node.js v22.18.0
(base) PS C:\Users\xx> npm -v
10.9.3
Ignite version
11.4.0
Additional info
pls, i have try to reset my nodejs version and reinstall my npm and ignite-cli but not work
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce npx ignite-cli doctor on Windows 10 with the reported Ignite 11.4.0, Node.js 22.18.0, and ANDROID_HOME setting. Start at build/commands/doctor.js:49, where the reported null split error occurs, and verify the command completes without throwing while still reporting the system checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100