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

New project does not run #23

Closed
ChildishForces opened this issue Aug 6, 2019 · 10 comments
Closed

New project does not run #23

ChildishForces opened this issue Aug 6, 2019 · 10 comments

Comments

@ChildishForces
Copy link

ChildishForces commented Aug 6, 2019

Receiving the following error:

Unable to resolve "../../App" from "node_modules/expo/AppEntry.js"
Failed building JavaScript bundle.
@RishabhKarnad
Copy link
Contributor

Hi @ChildishForces.

Just for some more info, could you share the following with us?

  • The contents of your package.json
  • Did this happen with a freshly generated project (without any changes)?
  • The contents of the project directory at the top level (e.g. the result of ls)

@mikkah
Copy link

mikkah commented Aug 7, 2019

Hi @RishabhKarnad I'm facing the same error as stated by @ChildishForces

Content of package.json

{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "^34.0.1",
"react": "16.8.3",
"react-dom": "^16.8.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
"react-native-web": "^0.11.4",
"vue-native-core": "0.1.0",
"vue-native-helper": "0.1.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"babel-preset-expo": "^6.0.0",
"vue-native-scripts": "0.1.0"
},
"private": true
}

This is a freshly generated project without any changes

@ChildishForces
Copy link
Author

I'm identical to @mikkah's.

@ChildishForces
Copy link
Author

Unfortunately this makes Vue Native unusable for me atm. :(

@Syltis
Copy link

Syltis commented Aug 9, 2019

There seems to be a bundle of proposed solutions out there for this, but none has been working in my case.

@Syltis
Copy link

Syltis commented Aug 9, 2019

There is a solution, see GeekyAnts/vue-native-core#183

@RishabhKarnad
Copy link
Contributor

As mentioned in GeekyAnts/vue-native-core#183, the crash is caused by an issue in Expo

After making a new project, changes will be required in the app.json for the project to work.

The README.md will be updated to reflect this

@ChildishForces
Copy link
Author

ChildishForces commented Aug 13, 2019 via email

@RishabhKarnad
Copy link
Contributor

@ChildishForces I have created a PR #26 to address this. It should roll out with the next release.

@ChildishForces
Copy link
Author

Awesome, much obliged!

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

4 participants