alibaba / alibaba/funcraft

fun nas sync PHP7.2 laravel6 时报错

Open
#1,085 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

:unzipping █████████████████████ 1241/7656 1666 files/s, 16% 0.7 sError: Command failed: unzip -q -o /mnt/demo/.fun_nas_tmp/.fun-nas-generated-fc-shining.zip -d /mnt/demo/ 'vendor/composer/composer/doc/faqs/why-can't-composer-load-repositories-recursively.md'
/bin/sh: 1: Syntax error: Unterminated quoted string

at /snapshot/funcraft/lib/nas/request.js:47:19
at Generator.next ()
at fulfilled (/snapshot/funcraft/lib/nas/request.js:4:58)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Unzip error! Please re-sync.

#### 尝试windows和linux 环境同步操作都是报上面位置的错误,不解一个md文件为什么会解压出错?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at lib/nas/request.js:47 and reproduce the fun nas sync command using the reported PHP 7.2 and Laravel 6 project. Inspect how the unzip command handles the named Composer markdown path; done means the sync completes without the shell's unterminated-quoted-string error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, laravel, node.js, php
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.