invertase / react-native-material-design

React Native UI Components for Material Design
http://react-native-material-design.github.io
MIT License
3.15k stars 366 forks source link

Cannot read property 'replace' of undefined #175

Open GAVISHSETHI opened 6 years ago

GAVISHSETHI commented 6 years ago

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)

arnoldbird commented 6 years ago

Probably a duplicate of https://github.com/react-native-material-design/react-native-material-design/issues/174