Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化项目出错 #103

Open
yupor5 opened this issue Feb 12, 2025 · 2 comments
Open

初始化项目出错 #103

yupor5 opened this issue Feb 12, 2025 · 2 comments

Comments

@yupor5
Copy link

yupor5 commented Feb 12, 2025

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.

@Master-Tang
Copy link

+1

1 similar comment
@zyan1226
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants