使用最新版本的pnpm,报错,安装pnpm 5的版本才正常
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
更新了版本,运行pnpm install的时候报下面的错误:
ERR_INVALID_ARG_TYPE The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
pnpm [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at Function.from (node:buffer:324:9)
at getAuthHeadersFromConfig (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:167875:39)
at createGetAuthHeaderByURI (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:167951:83)
at createClient (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:168001:80)
at createNewStoreController (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:180552:63)
at createOrConnectStoreController (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:180845:70)
at async installDeps (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:241182:21)
at async C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:270219:21
at async main (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:270186:34)
at async runPnpm (C:\Users\Administrator\AppData\Roaming\npm\node_modules\pnpm\dist\pnpm.cjs:270443:5)
请问具体问题是什么呢?
已确认非模板问题
登录 后才可以发表评论