Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Cannot read property 'replace' of undefined #175

@GAVISHSETHI

Description

@GAVISHSETHI

after installing material design create react-native-app project it throws this error

xdl/src/Project.js:920
let path = parts[1].replace(/: Module .*/, '').replace(//, '').trim();
^
TypeError: Cannot read property 'replace' of undefined
at _parseModuleResolutionError (/xdl/src/Project.js:920:23)
at _logModuleResolutionError (/xdl/src/Project.js:963:44)
at _logPackagerOutput (/xdl/src/Project.js:1012:5)
at Socket. (/xdl/src/Project.js:1229:7)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:246:13)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:594:20)

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