Closed thebenfirsty closed 8 months ago
Open something on StackOverflow if you need help, issues are for reporting problems.
I figured it out. It was a stupid question, my bad
I figured it out. It was a stupid question, my bad
Hey can you tell me how you fix that I'm also getting same error and new to podfiles
@Akshaybagai52 Probably that he copy / pasted the +
characters from the git diff.
Correct. Not my finest hour.
On Thu, Mar 14, 2024 at 6:26 AM Mathieu Acthernoene < @.***> wrote:
@Akshaybagai52 https://github.com/Akshaybagai52 Probably that he copy / pasted the + characters from the git diff.
— Reply to this email directly, view it on GitHub https://github.com/zoontek/react-native-permissions/issues/854#issuecomment-1997118377, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDXBV4XWJGBNFKKUZFUVHD3YYF3ONAVCNFSM6AAAAABEJHM3VGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGEYTQMZXG4 . You are receiving this because you authored the thread.Message ID: @.***>
Before submitting a new issue
Bug summary
Hello,
This could be a stupid question, but I'm really unfamiliar with Podfiles and Ruby syntax, so I'm not at all sure what I'm doing.
I'm following the set up at this link: https://www.npmjs.com/package/react-native-permissions
And after I add the block of code that starts "def node_require(script)", I'm getting this error: [!] Invalid
Podfile
file: syntax error, unexpected constant, expecting `do' or '{' or '('require Pod::Executable.execute_command(... ^~~ .
from /Users/benfirstenberg/Documents/GitHub/SpanishAI/ios/Podfile:3
-------------------------------------------
+ # Resolve script with node to allow for hoisting
I couldn't find anything on Stack overflow and ChatGPT was no help either. I'd appreciate your help, thank you!
Library version
4.1.4
Environment info
Steps to reproduce
Reproducible sample code