"Something went wrong while linking. Error: Cannot read property 'match' of undefined"
See original GitHub issueIs this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
$ react-native info
:
Environment:
OS: macOS Sierra 10.12.6
Node: 8.9.1
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.3 => 0.50.3
Target Platform: iOS 11.1
Steps to Reproduce
yarn add react-native-blur@3.2.2
react-native link react-native-blur
Expected Behavior
Package linked without error
Actual Behavior
$ react-native link react-native-blur
rnpm-install info Linking react-native-blur android dependency
rnpm-install info Android module react-native-blur has been successfully linked
rnpm-install info Linking react-native-blur ios dependency
rnpm-install ERR! Something went wrong while linking. Error: Cannot read property 'match' of undefined
Please file an issue here: https://github.com/facebook/react-native/issues
Cannot read property 'match' of undefined
Note that I haven’t seen a similar error, before RN 0.50 or react-native-blur <= 3.2.0
Issue also reported at https://github.com/react-native-community/react-native-blur/issues/246
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (1 by maintainers)
Top Results From Across the Web
"Cannot read property 'match' of undefined" during Npm install
Fix Our problem ( Cannot read property 'matches' of undefined ) If you are using node v15! Try with node v14 (npm v6....
Read more >React Native: Cannot read property 'match' of undefined
A fair amount of times, while running react-native link [package] , I have seen the following error: rnpm-install ERR! Something went wrong ...
Read more >npm err! cannot read properties of undefined (reading 'name')
Solution 1: Clear Cache. First you need to clear your cache by this command: npm cache clear --force. Now, run npm install command....
Read more >Cannot read property 'match' of undefined | RPG Maker Forums
That's not going to be quite right - the error is going to come from a line of code trying to work with...
Read more >ERROR TypeError: Cannot read property title of undefined
Solved Angular Uncaught Error : Template parse errors : : 'xxxComponent' is not a known element: CodeDocu Developer C# Asp Net Angular.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If your iOS project is using CocoaPods (contains Podfile) and linked library has podspec file, then react-native link will link library using Podfile. To support non-trivial Podfiles add # Add new pods below this line comment to places where you expect pods to be added.
@LiuShuoyu in my project there is Pod file with following content:
and after these lines I need add
# Add new pods below this line
?