cnpm / rapid

The fastest way to install npm packages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

本地 mac 使用报错

jiehwa opened this issue · comments

在执行rapid install命令的时候报错了,
Apple M1 Pro(Macos 14.1.2 (23B92))

zhongjianhua@CN0614011006M mm-chat % rapid install
? Do you want install fuse-t? It may take a few seconds Yes
Password:
[rapid] downloads 969 packages
[rapid] [████████████████████████████████████████] 100% | download | Complete | 29985ms
[rapid] download finished
[rapid] generate fs meta
[rapid] [████████████████████████████████████████] 100% | fs meta | Complete | 415ms
[rapid] startNydusd: /usr/local/lib/node_modules/@cnpmjs/rapid/node_modules/@cnpmjs/binding-darwin-arm64/nydusd --config /Users/zhongjianhua/.rapid/cache/nydus-config.json --mountpoint /Users/zhongjianhua/.rapid/cache/mnt --apisock /Users/zhongjianhua/.rapid/cache/nydusd.sock --log-file /Users/zhongjianhua/.rapid/cache/nydusd.log
[rapid] mount nydusd is not ready, waiting...
[rapid] mount nydusd is not ready, waiting...
[rapid] mount nydusd is not ready, waiting...
[rapid] mount nydusd is not ready, waiting...
[rapid] start nydusd daemon: 420.225ms
node:internal/errors:563
ErrorCaptureStackTrace(err);
^

Error: spawn /Users/zhongjianhua/.rapid/cache/project/rapid_deamon ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /Users/zhongjianhua/.rapid/cache/project/rapid_deamon',
path: '/Users/zhongjianhua/.rapid/cache/project/rapid_deamon',
spawnargs: []
}

Node.js v20.10.0