Skip to content

npx ignite-cli doctor throw error #3024

@xx1906

Description

@xx1906

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions