Skip to content

searchPaths.filter is not a functionΒ #94

@999946

Description

@999946
rnpm unlink react-native-image-picker
rnpm-link info Android module react-native-image-picker is not installed 
rnpm-link info Unlinking react-native-image-picker ios dependency 
/usr/local/Cellar/nvm/0.31.0/versions/node/v6.2.0/lib/node_modules/rnpm/node_modules/xcode/lib/pbxProject.js:1147
            var matches = searchPaths.filter(function(p) {
                                      ^

TypeError: searchPaths.filter is not a function
    at pbxProject.removeFromLibrarySearchPaths (/usr/local/Cellar/nvm/0.31.0/versions/node/v6.2.0/lib/node_modules/rnpm/node_modules/xcode/lib/pbxProject.js:1147:39)
    at removeFromStaticLibraries (/usr/local/Cellar/nvm/0.31.0/versions/node/v6.2.0/lib/node_modules/rnpm/node_modules/rnpm-plugin-link/src/ios/removeFromStaticLibraries.js:17:11)
    at getProducts.forEach.product (/usr/local/Cellar/nvm/0.31.0/versions/node/v6.2.0/lib/node_modules/rnpm/node_modules/rnpm-plugin-link/src/ios/unregisterNativeModule.js:36:5)
    at Array.forEach (native)
    at unregisterNativeModule (/usr/local/Cellar/nvm/0.31.0/versions/node/v6.2.0/lib/node_modules/rnpm/node_modules/rnpm-plugin-link/src/ios/unregisterNativeModule.js:35:34)

RN v0.28
nvm v0.31.0
node v6.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions