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

arco init 报错 #419

Open
zhoumingxing opened this issue Feb 11, 2025 · 2 comments
Open

arco init 报错 #419

zhoumingxing opened this issue Feb 11, 2025 · 2 comments

Comments

@zhoumingxing
Copy link

PS D:\VueProjects> arco init arco-admin

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

                                            v1.27.5

C:\Users\zzz\AppData\Roaming\npm\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 C:\Users\zzz\AppData\Roaming\npm\node_modules\arco-cli\node_modules\arco-cli-dev-utils\lib\getAnswerFromUser.js:145:27
at Generator.next ()
at fulfilled (C:\Users\zzz\AppData\Roaming\npm\node_modules\arco-cli\node_modules\arco-cli-dev-utils\lib\getAnswerFromUser.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Node.js v22.14.0

@zhoumingxing
Copy link
Author

zhoumingxing commented Feb 14, 2025 via email

@achais
Copy link

achais commented Feb 14, 2025

arco-design/arco-cli#101
多谢, 看到另外一个, issues解决了

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

2 participants