8000 windows下patch 替换时,请问有人遇到过这个问题吗? · Issue #108 · XianyuTech/aspectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

windows下patch 替换时,请问有人遇到过这个问题吗? #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bladeofgod opened this issue Mar 25, 2021 · 2 comments
Closed

Comments

@bladeofgod
Copy link

Checking patch packages/flutter_tools/lib/src/aspectd.dart...
Checking patch packages/flutter_tools/lib/src/build_system/targets/common.dart...
error: packages/flutter_tools/lib/src/build_system/targets/common.dart: does not exist in index
Applied patch packages/flutter_tools/lib/src/aspectd.dart cleanly.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Applying: aspectd
Patch failed at 0001 aspectd
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

@bladeofgod
Copy link
Author

我在flutter git 目录下 执行:git apply --3way ~/Github/aspectd/0001-aspectd.patch
报了如下错误:
E:/aspectD/aspDemo/0001-aspectd.patch:18: trailing whitespace.
// Copyright 2018 The Chromium Authors. All rights reserved.
E:/aspectD/aspDemo/0001-aspectd.patch:19: trailing whitespace.
// Use of this source code is governed by a BSD-style license that can be
E:/aspectD/aspDemo/0001-aspectd.patch:20: trailing whitespace.
// found in the LICENSE file.
E:/aspectD/aspDemo/0001-aspectd.patch:21: trailing whitespace.

E:/aspectD/aspDemo/0001-aspectd.patch:22: trailing whitespace.
import 'dart:io';
error: patch failed: packages/flutter_tools/lib/src/build_system/targets/common.dart:5
Falling back to three-way merge...
error: patch failed: packages/flutter_tools/lib/src/build_system/targets/common.dart:5
error: packages/flutter_tools/lib/src/build_system/targets/common.dart: patch does not apply

我先看看能不能正常工作

@bladeofgod
Copy link
Author

重新调整路径 成功了,继续向下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0