arco-cli icon indicating copy to clipboard operation
arco-cli copied to clipboard

TypeError: Cannot read properties of undefined (reading 'question')

Open RCwukaka opened this issue 10 months ago • 9 comments

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 A clear and concise description of what you expected to happen.

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

Desktop (please complete the following information):

  • OS: [e.g. MacOS]
  • node version [e.g. v16.13.1]

Additional context Add any other context about the problem here.

Image 这是什么鬼东西?

RCwukaka avatar Feb 17 '25 01:02 RCwukaka

+1

zyan1226 avatar Feb 19 '25 14:02 zyan1226

+1

yuyi202 avatar Feb 22 '25 03:02 yuyi202

+1

iislyk123 avatar Mar 04 '25 07:03 iislyk123

+1

TypeError: Cannot read properties of undefined (reading 'question')
    at /home/ephui/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/arco-cli-dev-utils/lib/getAnswerFromUser.js:145:57
    at Generator.next (<anonymous>)
    at fulfilled (/home/ephui/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/arco-cli-dev-utils/lib/getAnswerFromUser.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.19.1
cat /proc/version
Linux version 5.15.167.4-microsoft-standard-WSL2 (root@f9c826d3017f) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue Nov 5 00:21:55 UTC 2024

IUHHUI avatar Mar 29 '25 17:03 IUHHUI

+1

novice-ops avatar Apr 09 '25 15:04 novice-ops

me have this question

15011164760 avatar Apr 23 '25 11:04 15011164760

+1

lucienstar avatar May 20 '25 02:05 lucienstar

+1

yatoo233 avatar May 22 '25 04:05 yatoo233

Image

找到报错的代码 arco-cli/node_modules/arco-cli-dev-utils/lib/baseConfig.js 把里边getBaseConfig方法中的判断删了就好了

1151879477 avatar Aug 01 '25 09:08 1151879477