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

cannot init project successfully #133

Open
1 task
MrMalleable opened this issue Jan 19, 2025 · 1 comment
Open
1 task

cannot init project successfully #133

MrMalleable opened this issue Jan 19, 2025 · 1 comment

Comments

@MrMalleable
Copy link

Basic Info

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

@iszhangsc
Copy link

我的也是

arco init hello-arco-pro

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

                                            v1.27.5

/opt/homebrew/lib/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 /opt/homebrew/lib/node_modules/arco-cli/node_modules/arco-cli-dev-utils/lib/getAnswerFromUser.js:145:27
at Generator.next ()
at fulfilled (/opt/homebrew/lib/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 v23.1.0

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