Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module './local-cli/cli.js' #162

Closed
Juniper11 opened this issue Jul 31, 2018 · 0 comments
Closed

Error: Cannot find module './local-cli/cli.js' #162

Juniper11 opened this issue Jul 31, 2018 · 0 comments

Comments

@Juniper11
Copy link

Juniper11 commented Jul 31, 2018

I am going through the post install steps and now receive the following error when I try "react-native run-ios":

internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module './local-cli/cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/jenniferhayek/ReactNativeApps/DigitalRed/node_modules/react-native/cli.js:12:18)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

I was a bit confused during the Manual Linking With Your Project (iOS) steps so something might have gone wrong there.

Any help appreciated!

Thanks!
Jennifer

@Juniper11 Juniper11 reopened this Aug 4, 2018
@Juniper11 Juniper11 changed the title Command link unrecognized. Can't find variable 'styles' Aug 4, 2018
@Juniper11 Juniper11 changed the title Can't find variable 'styles' Can't find variable: styles Aug 4, 2018
@Juniper11 Juniper11 changed the title Can't find variable: styles Error: Cannot find module './local-cli/cli.js' Aug 8, 2018
@tolu360 tolu360 closed this as completed Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants