Skip to content

plugin not useable on case sensitive filesystem #25

Open
@stuuu68

Description

@stuuu68

Expected Behaviour

When installing phonegap platform ios the plugin should correctly copy files.
If symlinks are created to workaround then the plugin installs without error.
$ ln -s mediadevices.js plugins/phonegap-plugin-media-stream/www/MediaDevices.js
$ ln -s mediastream.js plugins/phonegap-plugin-media-stream/www/MediaStream.js
$ ln -s iOS plugins/phonegap-plugin-media-recorder/src/ios

Actual Behaviour

Installation fails due to files not found (e.g. MediaDevicesjs)

Reproduce Scenario (including but not limited to)

  • I am trying to use media-recorder which has media-stream as a dependency

Steps to Reproduce

phonegap plugin install phonegap-plugin-media-recorder
phonegap platform add is
.....
Failed to install 'phonegap-plugin-media-stream': Error: Uh oh!
ENOENT: no such file or directory, open '/Volumes/USB256/code/tsmessenger/plugins/phonegap-plugin-media-stream/www/MediaStream.js'
.....

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

cordova-ios@~4.5.4

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Cordova CLI version and cordova platform version

cordova --version                                    # e.g. 6.0.0
cordova platform version android                     # e.g. 4.1.1

Plugin version

[email protected]
cordova plugin version | grep phonegap-plugin-image-capture # e.g. 1.5.3

Sample Code that illustrates the problem

Logs taken while reproducing problem

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