Error from postinstall script
timotgl opened this issue · comments
Tried to install this library on macOS 13.3.1 (a) in iTerm2 with zsh shell but got an error with exit code 127 from the postinstall script.
Is the copyfiles
command invoked from here https://github.com/AlenToma/react-native-text-contextmenu/blob/master/package.json#L36 something windows or android specific maybe?
Full log:
yarn add react-native-webview react-native-text-contextmenu
yarn add v1.22.19
...
error /path/to/my/app/node_modules/react-native-text-contextmenu: Command failed.
Exit code: 127
Command: npm run copyAndroid && npm run copyIOS
Arguments:
Directory: /path/to/my/app/node_modules/react-native-text-contextmenu
Output:
> react-native-text-contextmenu@0.1.3 copyAndroid
i did npm i copyfiles
and it worked.