Closed complicated2018 closed 1 year ago
看着像证书错误 我们确认下,可以先通过 github 下载模版 https://github.com/ice-lab/vue-materials/tree/master/scaffolds/icestark-framework-app
这个确定是证书问题是吗?啥时候能修复呀?
并没有复现出现
好的,那可能是这边公司网络问题
---原始邮件--- 发件人: @.> 发送时间: 2023年2月21日(周二) 中午11:16 收件人: @.>; 抄送: @.**@.>; 主题: Re: [ice-lab/icestark] 创建工程失败 (Issue #659)
并没有复现出现
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Microsoft Windows [版本 10.0.19044.2486] (c) Microsoft Corporation。保留所有权利。
D:\ice>npm init ice icestark-layout @vue-materials/icestark-layout-app create-ice version: 1.8.2 create-ice args icestark-layout @vue-materials/icestark-layout-app node:internal/process/promises:288 triggerUncaughtException(err, true / fromPromise /); ^
<ref 1> Error: unable to verify the first certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1540:34) at TLSSocket.emit (node:events:513:28) at TLSSocket._finishInit (node:_tls_wrap:959:8) at ssl.onhandshakedone (node:_tls_wrap:743:12) { code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [Function: httpAdapter], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, /', 'User-Agent': 'axios/0.23.0' }, url: 'https://registry.npmmirror.com/@vue-materials/icestark-layout-app', method: 'get', data: undefined }, request: <ref 4> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, constructed: true, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false, closeEmitted: false,
}, response: undefined, isAxiosError: true, toJSON: [Function: toJSON] }
Node.js v18.14.0 npm ERR! code 1 npm ERR! path D:\ice npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-ice icestark-layout @vue-materials/icestark-layout-app
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\lusf\AppData\Local\npm-cache_logs\2023-02-10T04_22_55_913Z-debug-0.log 2023-02-10T04_22_55_913Z-debug-0.log
D:\ice>
D:\ice>