Skip to content

初始化项目出错 #103

@yupor5

Description

@yupor5

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
arco init web-arco

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

                                            v1.27.5

D:\devTool\nvm\v20.10.0\node_global\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 destructure property 'question' of '(intermediate value)' as it is undefined.
at D:\devTool\nvm\v20.10.0\node_global\node_modules\arco-cli\node_modules\arco-cli-dev-utils\lib\getAnswerFromUser.js:145:27
at Generator.next ()
at fulfilled (D:\devTool\nvm\v20.10.0\node_global\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 v20.10.0

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: windows 10
  • node version v20.10.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions