Skip to content

Error filePath.replace is not a function #1

@mikeKane

Description

@mikeKane

When using this code I get the following error:

TypeError: filePath.replace is not a function
    at StorageReference.putFile (reference.js:101)
    at SubmitPhoto.js:142
    at tryCallOne (core.js:37)
    at core.js:123
    at JSTimers.js:289
    at _callTimer (JSTimers.js:146)
    at _callImmediatesPass (JSTimers.js:194)
    at Object.callImmediates (JSTimers.js:458)
    at MessageQueue.__callImmediates (MessageQueue.js:366)
    at MessageQueue.js:135

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions