之前一直好好的,突然无法打包了。后来发现npm install
也不行了,甚至npm config
也不行。一直卡在npm:load
这一状态。
➜ ~ npm config get registry --verbose
npm verb cli [
npm verb cli '/opt/homebrew/Cellar/node/15.6.0/bin/node',
npm verb cli '/opt/homebrew/bin/npm',
npm verb cli 'config',
npm verb cli 'get',
npm verb cli 'registry',
npm verb cli '--verbose'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:/opt/homebrew/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 0ms
npm timing config:load:env Completed in 0ms
npm timing config:load:project Completed in 0ms
npm timing config:load:file:/Users/allele/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/opt/homebrew/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:cafile Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:setUserAgent Completed in 0ms
npm timing config:load:setEnvs Completed in 0ms
npm timing config:load Completed in 3ms
npm verb npm-session dbfc4053986fe777
npm timing npm:load Completed in 7ms
⸨░░░░░░░░░░░░░░░░░░⸩ ⠋ : timing npm:load Completed in 7ms
有人遇到过相似的问题么😩
用 homebrew 重新安装过一边 node 也还是不行。
1
uselessVisitor 2021-01-22 14:54:57 +08:00
重启试一下?
|
2
runliuv 2021-01-22 15:15:33 +08:00
没有 M1 机器,就看看。
|
3
whitehack 2021-01-22 15:53:37 +08:00
借个 M1 我帮你解决
|
4
ytll21 2021-01-22 15:55:34 +08:00
装 nvm 试试
|
5
12101111 2021-01-22 16:19:41 +08:00 1
苹果的签名验证卡住了吧,开全局代理看看
|