patch-package
patch-package copied to clipboard
**ERROR** Failed to patch on CircleCI
Am I doing anything wrong? Got stuck with this issue for quite a while
Config
commands:
install_js:
steps:
- run:
name: patch-package hash
command: Get-FileHash patches/* -Algorithm MD5 > patches.hash
- restore_cache:
keys:
- dependency-cache-{{ checksum "package-lock.json" }}-{{ checksum "patches.hash" }}
- dependency-cache-
- run:
name: Check node version
command: |
if(!((node -v) -match "^v14")) {
exit 1
}
- run:
name: Install jsdependencies
command: npm ci
Log
patch-package 6.4.7
Applying patches...
Error: Patch file found for package encrypted-smiley-secure-protocol which is not present at node_modules/encrypted-smiley-secure-protocol
Error: Patch file found for package robot3 which is not present at node_modules/robot3
---
patch-package finished with 2 error(s).
Exited with code exit status 1
CircleCI received exit code 1
yes, I encountered the same error with another module:
npx: installed 50 in 2.256s
patch-package 6.4.7
Applying patches...
Error: Patch file found for package react-native-responsive-linechart which is not present at node_modules/react-native-responsive-linechart
---
anyone can give some clues about it ? thank you.