Cannot find module './src/SocketInterface'
leonardgithub opened this issue · 0 comments
error when executing react-native start, any solution?
│ Running packager on port 8081. │
│ │
│ Keep this packager running while developing on any JS projects. Feel │
│ free to close this tab and run your own packager instance if you │
│ prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/home/leonard/Descargas/React-Native-Remote-Update-master
ERROR Cannot find module './src/SocketInterface'
{"code":"MODULE_NOT_FOUND"}
Error: Cannot find module './src/SocketInterface'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at startSocketInterface (/home/leonard/Descargas/React-Native-Remote-Update-master/node_modules/react-native/packager/react-packager/index.js:119:3)
at createServer (/home/leonard/Descargas/React-Native-Remote-Update-master/node_modules/react-native/packager/react-packager/index.js:95:3)
at Object.exports.middleware (/home/leonard/Descargas/React-Native-Remote-Update-master/node_modules/react-native/packager/react-packager/index.js:20:16)
at getAppMiddleware (/home/leonard/Descargas/React-Native-Remote-Update-master/node_modules/react-native/private-cli/src/server/runServer.js:51:24)
at runServer (/home/leonard/Descargas/React-Native-Remote-Update-master/node_modules/react-native/private-cli/src/server/runServer.js:34:10)
at startServer (/home/leonard/Descargas/React-Native-Remote-Update-master/node_modules/react-native/private-cli/src/server/server.js:141:26)