Skip to content

cannot init project successfully #133

@MrMalleable

Description

@MrMalleable

Basic Info

  • Package Name And Version: arco-design-pro@2.8.1
  • Browser: chrome131.0.0.0

Steps to reproduce

npm i -g arco-cli
arco init hello-arco-pro

    ___                    ____            _
   /   |  ______________  / __ \___  _____(_)___ _____ 
  / /| | / ___/ ___/ __ \/ / / / _ \/ ___/ / __ `/ __ \
 / ___ |/ /  / /__/ /_/ / /_/ /  __(__  ) / /_/ / / / /
/_/  |_/_/   \___/\____/_____/\___/____/_/\__, /_/ /_/ 
                                         /____/        

                                            v1.27.5

C:\nvm\v18.20.3\node_modules\arco-cli\node_modules\arco-cli-dev-utils\lib\getAnswerFromUser.js:145
const { question: { [command]: questions }, } = yield (0, baseConfig_1.getBaseConfig)();
^

TypeError: Cannot read properties of undefined (reading 'question')
at C:\nvm\v18.20.3\node_modules\arco-cli\node_modules\arco-cli-dev-utils\lib\getAnswerFromUser.js:145:57
at Generator.next ()
at fulfilled (C:\nvm\v18.20.3\node_modules\arco-cli\node_modules\arco-cli-dev-utils\lib\getAnswerFromUser.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.20.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions