-
Notifications
You must be signed in to change notification settings - Fork 296
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
Unable to resolve "../../App" from "node_modules\expo\AppEntry.js" #183
Comments
Same. With yarn I don't have the vue-native-scripts installation issue. But I'm also getting Unable to resolve "../../App" from "node_modules/expo/AppEntry.js" This is on a totally fresh cli init project |
Same here, I'm guessing it may have something to do with the new version of |
Actually no. I'm already have |
It's pretty bad that this package is basically unusable then. There's no way to init a new project. |
Same for me! :( |
Also hitting this exact issue when trying to follow |
Same problem with me while following 'Getting started' on vue native site. Tried tweaking some versions but still no luck. |
|
Still doesn't work. now getting Unable to resolve "../../App.vue" from "node_modules/expo/AppEntry.js" |
Okay I see. Send the tree view of your project. |
This began happening to me when I was forced to upgrade Node.js to be compatable with a new Expo version. I had a working project, but after upgrading my Node.js version for Expo compatibility I began seeing this error. I cleared my entire Node.js cache and got the latest of every dependency. I followed the Vue-native "getting started" documentation. And this error occurs when using command "npm run ios" after simply init-ing a new project |
Any update? |
Same error. Even with latest version of expo-cli (3.0.9) |
This is a huge error. We can't even init a new project, so the package is essentially unusable at this version. |
Hello there, I don't know if this gonna be helpful, but the latest functional configuration for me is: package.json: app.json: Reference SDK 32: With that configuration, I was able to compile a new app created with the latest vue-native CLI. |
In app.json add As mentioned by @Shrekie. Thanks 👍 |
I probably would still keep this open as this doesn't fix vue-native itself |
I've tried for some weeks and I can't even start the clean project. The last try was adding Resume
|
UPDATE: Mixing the solution of @damferreyra and @zyxel648 made it work. Thanks guys. |
The current latest versions of react and vue worked for me when using the solution @zyxel648 proposed. Great stuff, been stuck on this for a while. |
I was wrong. This worked for running the app.vue file as project root, but if I add any kind of script to the component I get this error
No other error-messages are displayed. What does this even mean? |
We were not able to use this for our new project because I was not able to run the project |
Seems super bad for a major version release.
…________________________________
From: Anoop.P.A <[email protected]>
Sent: Friday, August 9, 2019 1:28:13 PM
To: GeekyAnts/vue-native-core <[email protected]>
Cc: Chris Schofield <[email protected]>; Comment <[email protected]>
Subject: Re: [GeekyAnts/vue-native-core] Unable to resolve "../../App" from "node_modules\expo\AppEntry.js" (#183)
We were not able to use this for our new project because I was not able to run the project
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#183?email_source=notifications&email_token=AJSVR2RXVVCON5H3FM5FNOLQDVIE3A5CNFSM4IJLIBCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD36M4YQ#issuecomment-519884386>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJSVR2U3Y65XE6QHP67EMVLQDVIE3ANCNFSM4IJLIBCA>.
|
@damferreyra |
@zyxel648 @ChildishForces @Syltis I am unable to reproduce the issue on my end. Are you using the latest version of Expo client? I have tried clearing my cache, resetting the device data, and tested on both iOS and Android. @Syltis the |
Latest expo-cli, latest vue-native-cli, latest vue-native-core. Running this on Mac, though don’t know why that’d make a difference.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Rishabh Karnad <[email protected]>
Sent: Friday, August 9, 2019 6:11:33 PM
To: GeekyAnts/vue-native-core <[email protected]>
Cc: Chris Schofield <[email protected]>; Mention <[email protected]>
Subject: Re: [GeekyAnts/vue-native-core] Unable to resolve "../../App" from "node_modules\expo\AppEntry.js" (#183)
@zyxel648<https://github.com/zyxel648> @ChildishForces<https://github.com/ChildishForces> @Syltis<https://github.com/Syltis> I am unable to reproduce the issue on my end. Are you using the latest version of Expo client? I have tried clearing my cache, resetting the device data, and tested on both iOS and Android.
@Syltis<https://github.com/Syltis> the tsConsumer.originalPositionFor is not a function issue is known (#175<#175>). It will be fixed with v0.1.1 that should be out within a few hours.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#183?email_source=notifications&email_token=AJSVR2TLPNYXNLEOOV2VPXTQDWJLLA5CNFSM4IJLIBCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD37DPCA#issuecomment-519976840>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJSVR2VT2UKBBZN5DOZ2JLLQDWJLLANCNFSM4IJLIBCA>.
|
After manually adding "vue-native-scripts" pinned to my package.json file at version 0.0.16, I am up and running. |
This is an Expo bug. The workaround mentioned by @Shrekie should work here. Expo seems to be ignoring some of the metro config The relevant Expo issues can be found here:
Until those issues are resolved, it seems Expo users will have to use the workaround and modify their |
Simply adding sourceExts in packagerOpts doesnot solve the issue. |
… exts + vue extensions) Fixes #23 Addresses - GeekyAnts/vue-native-core#183 - GeekyAnts/vue-native-core#194
bump, still not resolved.. |
@Hiti3 can you please provide a project directory reproducing this with the latest versions of vue-native-core, vue-native-scripts and vue-native-helper (0.1.4)? |
Still a problem. Just installed expo-cli & vue-native-cli |
O que acontece no meu projeto é que eu alterei o arquivo APP, enviando ele para a pasta SRC/APP.... e o expo está buscando ../../APP... quando altero ../src/App no arquivo AppEntry.js localizado em 'node_modules\expo\AppEntrey.js" ele funciona. Como fazer o expo enxergar que eu mudei o arquivo APP?? Detalhe, eu estou usando index.tsx |
Having the same problem! |
To anyone still facing this issue, please add the following information:
|
I nerver can't start a project with vue-native or expo, move to PWA. |
2021, vue-native, fresh install can't start. move to ionic-vue3 with capacitor |
Yeah, 2021 here. It is so fucking frustrating |
I finally done that. |
In console, I just run the following command:
vue-native init <project name>
And then, delete App.js file (App.vue file still exists)
package.json
Beacause I have problems with installation of vue-native-scripts v.0.1.0 (#182), I added them manually. [email protected] did not work correncly with RN v.0.59 (expo sdk 34)
In stack trace I see:
But why it's don't try to resolve module with
vue
extension?metro.config.js
I spent about 3 days trying to solve this issue, but nothing found how to do this.
Repository
The text was updated successfully, but these errors were encountered: