oracle / oracle/pushiomanager-react-native

Failed to run yarn install - (windows )

Open
#52 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
19
Forks
19
PR merge metrics
No merged PRs in 30d

Description

image

what is the reason for this script? version 6.52

"scripts": {
"postinstall": "rm -rf ./framework/PushIOManager.framework && cp -Rf ../../../ios/framework/PushIOManager.framework ./framework/ || { exit 1 && \n\n\n Error ==> PushIOManager.framework not found. Please copy the PushIOManager.framework to YOUR_APP_DIR/ios/framework/ and install package again. Follow README.md Installation instructions.<=== \n\n\n}"
},

On mac everything ok, but on windows there is no rm -rf command

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the postinstall script shown in the issue and compare its shell commands with the README.md installation instructions. Reproduce yarn install on Windows and confirm the failure around rm -rf or the framework copy step. Done means the package installation path works on Windows while preserving the documented iOS framework setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
build-system, mobile
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.