TypeError: Cannot read properties of undefined (reading 'question')
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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.
这是什么鬼东西?
+1
+1
+1
+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
+1
me have this question
+1
+1
找到报错的代码 arco-cli/node_modules/arco-cli-dev-utils/lib/baseConfig.js 把里边getBaseConfig方法中的判断删了就好了