alibaba / alibaba/funcraft

fun nas cp命令报错zip: not found

Open
#1,037 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

使用fun nas cp命令报错zip: not found

------------------------
$ fun nas cp -r nas://NasDemo/mnt/auto/logs .\logs
using template: template.yml

start fun nas init...
checking if _FUN_NAS_NasDemo needs to be deployed...
skip deploying _FUN_NAS_NasDemo, which has been deployed
fun nas init Success

zipping /mnt/auto/logs
Command failed: cd /mnt/auto && zip -r /mnt/auto/.fun-nas-generated.zip logs
/bin/sh: 1: zip: not found

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `fun nas cp -r nas://NasDemo/mnt/auto/logs .\logs` and trace the `fun nas` CLI path that runs `cd /mnt/auto && zip -r /mnt/auto/.fun-nas-generated.zip logs`. Done means the command completes without the reported `zip: not found` failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.