在智谱清言里输入如下提示词:
你是一名资深的uni-app开发工程师,请告诉我怎么用vscode搭建uni-app的开发环境。
按照提示的步骤,在执行这个步骤的时候报错
C:\Users\xxx\test>vue create -p dcloudio/uni-preset-vue my-uni-app
Fetching remote preset dcloudio/uni-preset-vue...
(node:38880) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
ERROR Failed fetching remote preset dcloudio/uni-preset-vue:
ERROR RequestError: getaddrinfo ENOENT github.com
RequestError: getaddrinfo ENOENT github.com
at ClientRequest.<anonymous> (C:\Users\xxx\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\got\index.js:182:22)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:518:28)
at emitErrorEvent (node:_http_client:103:11)
at TLSSocket.socketErrorListener (node:_http_client:506:5)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
这个问题怎么处理呢