Skip to content

Cannot read property 'replace' of undefined #2

@XZ6H

Description

@XZ6H

I get this error

D:\Dev_wrkng>meteorToPhoneGap -M "http://localhost:3000/" -S /meteoris-chat -D /metphone
C:\Users\user\AppData\Roaming\npm\node_modules\meteor-to-phonegap\lib\main.js:92
newText = text.replace(/href="//g, "href="")
^

TypeError: Cannot read property 'replace' of undefined
at modifyIndex (C:\Users\user\AppData\Roaming\npm\node_modules\meteor-to-phonegap\lib\main.js:92:19)
at Request._callback (C:\Users\user\AppData\Roaming\npm\node_modules\meteor-to-phonegap\lib\main.js:37:11)
at self.callback (C:\Users\user\AppData\Roaming\npm\node_modules\meteor-to-phonegap\node_modules\request\request.js:187:22)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at Request.onRequestError (C:\Users\user\AppData\Roaming\npm\node_modules\meteor-to-phonegap\node_modules\request\request.js:813:8)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketErrorListener (_http_client.js:267:9)
at emitOne (events.js:77:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions