执行 cnpm sync 命令报错,没有输出日志
Closed this issue · 2 comments
sonofmagic commented
现象
执行命令:
cnpm sync weapp-tailwindcss
下方为命令行输出:
Start sync ["weapp-tailwindcss"].
sync weapp-tailwindcss, PUT https://registry.npmmirror.com/weapp-tailwindcss/sync?publish=false&nodeps=false
logUrl: https://registry.npmmirror.com/-/package/weapp-tailwindcss/syncs/66f55a7b5028e7ebc9e50381/log
{"error":"[NOT_FOUND] Package \"weapp-tailwindcss\" sync task \"66f55a7b5028e7ebc9e50381\" log not found"}
无法找到日志,然后我又试了 cnpm sync @icebreakers/eslint-config
也是报类似的错误:
Start sync ["@icebreakers/eslint-config"].
sync @icebreakers/eslint-config, PUT https://registry.npmmirror.com/@icebreakers/eslint-config/sync?publish=false&nodeps=false
logUrl: https://registry.npmmirror.com/-/package/@icebreakers/eslint-config/syncs/66f55b8b0c22a76e178431da/log
{"error":"[NOT_FOUND] Package \"@icebreakers/eslint-config\" sync task \"66f55b8b0c22a76e178431da\" log not found"}
环境信息
执行 npx envinfo
System:
OS: macOS 14.6.1
CPU: (10) arm64 Apple M1 Pro
Memory: 885.59 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.0 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.7.0 - /usr/local/bin/npm
pnpm: 9.11.0 - /usr/local/bin/pnpm
bun: 1.1.2 - ~/.bun/bin/bun
Managers:
Cargo: 1.69.0 - /opt/homebrew/bin/cargo
Composer: 2.7.2 - /usr/local/bin/composer
Homebrew: 4.2.15 - /opt/homebrew/bin/brew
pip3: 23.2.1 - /Library/Frameworks/Python.framework/Versions/3.12/bin/pip3
RubyGems: 3.0.3.1 - /usr/bin/gem
Utilities:
CMake: 3.26.4 - /opt/homebrew/bin/cmake
Make: 3.81 - /usr/bin/make
GCC: 15.0.0 - /usr/bin/gcc
Git: 2.46.0 - /opt/homebrew/bin/git
Clang: 15.0.0 - /usr/bin/clang
Curl: 8.7.1 - /usr/bin/curl
OpenSSL: 3.3.1 - /opt/homebrew/bin/openssl
Servers:
Apache: 2.4.59 - /usr/sbin/apachectl
Virtualization:
Docker: 27.2.0 - /usr/local/bin/docker
IDEs:
VSCode: 1.93.1 - /usr/local/bin/code
Vim: 9.0 - /usr/bin/vim
WebStorm: 2024.2.1
Xcode: /undefined - /usr/bin/xcodebuild
Languages:
Bash: 3.2.57 - /bin/bash
Perl: 5.34.1 - /usr/bin/perl
PHP: 8.3.10 - /opt/homebrew/bin/php
Protoc: 23.2 - /opt/homebrew/bin/protoc
Python3: 3.12.1 - /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
Ruby: 2.6.10 - /usr/bin/ruby
Rust: 1.69.0 - /opt/homebrew/bin/rustc
Databases:
SQLite: 3.43.2 - /usr/bin/sqlite3
Browsers:
Chrome: 129.0.6668.59
Safari: 17.6
github-actions commented
我们已经看到你的反馈,如果是功能缺陷,可以提供一下重现该问题的方式;如果是新功能需求,我们会尽快加入讨论。同时我们非常期待你可以加入我们的贡献者行列,让项目可以长期可持续发展。
fengmk2 commented
我现在跑正常的
arm64/bin
➜ egg cnpm sync weapp-tailwindcss
Start sync ["weapp-tailwindcss"].
sync weapp-tailwindcss, PUT https://registry.npmmirror.com/weapp-tailwindcss/sync?publish=false&nodeps=false
logUrl: https://registry.npmmirror.com/-/package/weapp-tailwindcss/syncs/66f58ec35028e7ebc9e58382/log
{"error":"[NOT_FOUND] Package \"weapp-tailwindcss\" sync task \"66f58ec35028e7ebc9e58382\" log not found"}
[2024-09-26T16:41:39.617Z] 🚧🚧🚧🚧🚧 Syncing from https://r.cnpmjs.org/weapp-tailwindcss, skipDependencies: false, syncUpstream: true, syncDownloadData: false, forceSyncHistory: false attempts: 1, worker: "registry.npmmirror.com-06/3205703", taskQueue: 0/100 🚧🚧🚧🚧🚧
[2024-09-26T16:41:39.617Z] 🚧 log: https://registry.npmmirror.com/-/package/weapp-tailwindcss/syncs/66f58ec35028e7ebc9e58382/log
[2024-09-26T16:41:39.638Z][UP] 🚧🚧🚧🚧🚧 Waiting sync "weapp-tailwindcss" task on https://r.cnpmjs.org 🚧🚧🚧🚧🚧
[2024-09-26T16:41:40.675Z][UP] 🚧 HTTP [201] timing: {"queuing":0.238,"connected":687.855,"requestHeadersSent":687.926,"requestSent":687.969,"waiting":1036.499,"contentDownload":1036.587}, data: {"ok":true,"logId":"66f58ec46d621f96362ad3cf"}
[2024-09-26T16:41:44.807Z][UP] 🎉 Sync weapp-tailwindcss success [4132ms], log: https://r.cnpmjs.org/weapp-tailwindcss/sync/log/66f58ec46d621f96362ad3cf?offset=0, offset: 241
[2024-09-26T16:41:44.807Z][UP] 🔗 https://r.cnpmjs.org/weapp-tailwindcss
[2024-09-26T16:41:46.344Z] HTTP [200] content-length: -, timing: {"queuing":0.125,"connected":0,"requestHeadersSent":0.149,"requestSent":0.196,"waiting":453.998,"contentDownload":1498.557}
[2024-09-26T16:41:46.344Z] 📖 weapp-tailwindcss latest version: 3.5.3, published time: "2024-09-26T11:05:21.927Z"
[2024-09-26T16:41:46.344Z] 🚧 Syncing maintainers: [{"name":"icebreaker","email":"1324318532@qq.com"}]
[2024-09-26T16:41:46.453Z] 🚧 Syncing versions 81 => 81
[2024-09-26T16:41:46.453Z] 🟢 Synced updated 0 versions, removed 0 versions
[2024-09-26T16:41:46.459Z] 🗑️ Clean cache
[2024-09-26T16:41:46.459Z] 📝 Log URL: https://registry.npmmirror.com/-/package/weapp-tailwindcss/syncs/66f58ec35028e7ebc9e58382/log
[2024-09-26T16:41:46.459Z] 🔗 https://r.cnpmjs.org/weapp-tailwindcss?t=1727368904838&cache=0
Sync all packages done, successed: ["weapp-tailwindcss"], failed: []
➜ egg
➜ egg git:(3.x) cnpm sync @icebreakers/eslint-config
Start sync ["@icebreakers/eslint-config"].
sync @icebreakers/eslint-config, PUT https://registry.npmmirror.com/@icebreakers/eslint-config/sync?publish=false&nodeps=false
logUrl: https://registry.npmmirror.com/-/package/@icebreakers/eslint-config/syncs/66f58eee3edfebf03143f73a/log
[2024-09-26T16:42:22.082Z] 👉👉👉👉👉 Tips: Sync cause by "http://registry-direct.npmmirror.com/@icebreakers/eslint-config/sync?publish=false&nodeps=false", parent traceId: 4d6179d0-7c26-11ef-8f57-b3fe8d219380 👈👈👈👈👈
[2024-09-26T16:42:22.082Z] 🚧🚧🚧🚧🚧 Syncing from https://r.cnpmjs.org/@icebreakers/eslint-config, skipDependencies: false, syncUpstream: true, syncDownloadData: false, forceSyncHistory: false attempts: 1, worker: "registry.npmmirror.com-04/552463", taskQueue: 0/100 🚧🚧🚧🚧🚧
[2024-09-26T16:42:22.082Z] 🚧 log: https://registry.npmmirror.com/-/package/@icebreakers/eslint-config/syncs/66f58eee3edfebf03143f73a/log
[2024-09-26T16:42:22.094Z][UP] 🚧🚧🚧🚧🚧 Waiting sync "@icebreakers/eslint-config" task on https://r.cnpmjs.org 🚧🚧🚧🚧🚧
[2024-09-26T16:42:22.491Z][UP] 🚧 HTTP [201] timing: {"queuing":0.054,"connected":0,"requestHeadersSent":0.068,"requestSent":0.104,"waiting":396.502,"contentDownload":396.556}, data: {"ok":true,"logId":"66f58eee6bc2cccf606b175c"}
[2024-09-26T16:42:28.670Z][UP] 🎉 Sync @icebreakers/eslint-config success [6179ms], log: https://r.cnpmjs.org/%40icebreakers%2Feslint-config/sync/log/66f58eee6bc2cccf606b175c?offset=0, offset: 259
[2024-09-26T16:42:28.670Z][UP] 🔗 https://r.cnpmjs.org/@icebreakers/eslint-config
[2024-09-26T16:42:29.478Z] HTTP [200] content-length: -, timing: {"queuing":0.053,"connected":0,"requestHeadersSent":0.069,"requestSent":0.118,"waiting":738.251,"contentDownload":771.087}
[2024-09-26T16:42:29.478Z] 📖 @icebreakers/eslint-config latest version: 0.5.3, published time: "2024-09-26T11:40:22.208Z"
[2024-09-26T16:42:29.478Z] 🚧 Syncing maintainers: [{"name":"icebreaker","email":"1324318532@qq.com"}]
[2024-09-26T16:42:29.571Z] 🚧 Syncing versions 41 => 41
[2024-09-26T16:42:29.572Z] 🟢 Synced updated 0 versions, removed 0 versions
[2024-09-26T16:42:29.575Z] 🗑️ Clean cache
[2024-09-26T16:42:29.575Z] 📝 Log URL: https://registry.npmmirror.com/-/package/@icebreakers/eslint-config/syncs/66f58eee3edfebf03143f73a/log
[2024-09-26T16:42:29.575Z] 🔗 https://r.cnpmjs.org/%40icebreakers%2Feslint-config?t=1727368948706&cache=0
Sync all packages done, successed: ["@icebreakers/eslint-config"], failed: []