ds300 / ds300/patch-package

**ERROR** Failed to apply patch for package @aws-amplify/pushnotification at path

Open
#372 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

Trying to patch @aws-amplify/pushnotification by modifying just one line in a android java file, patch file created successfully but when its applied after npm install, its giving error.

```

**ERROR** Failed to apply patch for package @aws-amplify/pushnotification at path

node_modules/@aws-amplify/pushnotification

This error was caused because patch-package cannot apply the following patch file:

patches/@aws-amplify+pushnotification+4.3.8.patch

Try removing node_modules and trying again. If that doesn't work, maybe there was
an accidental change made to the patch file? Try recreating it by manually
editing the appropriate files and running:

patch-package @aws-amplify/pushnotification
```

My other patch files are applied correctly so not sure what is wrong.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.