-
-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
Here's the command I'm using:
yarn patch-package react-native-launch-navigator
And here's the error I get:
yarn run v1.15.2
$ /Users/diogo/Development/call-a-ride-v1/node_modules/.bin/patch-package react-native-launch-navigator
patch-package 6.1.2
• Creating temporary folder
• Installing [email protected] with yarn
warning package.json: No license field
warning No license field
warning " > [email protected]" has unmet peer dependency "react-native@>=0.36.0".
error /private/var/folders/xs/bnwg488s707gg2xz5r2cm5pw0000gn/T/tmp-364842GE46brVflY0/node_modules/react-native-launch-navigator: Command failed.
Exit code: 1
Command: node scripts/postinstall.js
Arguments:
Directory: /private/var/folders/xs/bnwg488s707gg2xz5r2cm5pw0000gn/T/tmp-364842GE46brVflY0/node_modules/react-native-launch-navigator
Output:
module.js:549
throw err;
^
Error: Cannot find module 'glob'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/private/var/folders/xs/bnwg488s707gg2xz5r2cm5pw0000gn/T/tmp-364842GE46brVflY0/node_modules/react-native-launch-navigator/scripts/ios.link_helpers.js:7:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
Now I see this is an error more specific to the package I'm trying to create a patch for, but I wonder why doesn't this show up when I run yarn install? I noticed that the package's package.json is missing the glob dependency, so I wonder if I should make a PR suggesting that?
Metadata
Metadata
Assignees
Labels
No labels