-
Notifications
You must be signed in to change notification settings - Fork 295
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
npm run web fails #268
Comments
I got similar output from a expo/react project when trying to spin up a web variant to. File that failed to compile was at /c/Users/{me}/sites/{project-name}/node_modules/expo/AppEntry.js |
npm install --global [email protected] / yarn global add [email protected] for now It does not work with expo-cli@3 |
Thanks for the feedback. I downgraded and now i'm getting this error.
|
I got past this error by setting up webpack, I'm sorry I didn't document what I did exactly, but hopefully this gets you moving in the right direction. |
@smp4488 are you still experiencing this issue? |
@icarter09 I blew away my test app, downgraded expo-cli and re ran vue-native init. After that I renamed app.json to App.json. Here is the error i'm getting now.
|
Anybody have solution for this, i am facing same issu like@smp4488 |
This seems to be happening because AppEntry.js tries to import |
Any news on this? |
Same issue, can't run npm run web |
any news? |
any news ? |
Same I will retry later with another version [email protected] |
Also running into this issue when running 'expo start --web' (or 'npm run web') |
would really appreciate an update for this as I'm looking to deploy an app with this as a web version first |
Same issue |
Long story short, at the time, vue-native-cli does not work using web, only android and iOS. Would really love to have this resolved so that the vue-native-cli can also be ran as a web app. Without this functionality, it is better just to use react-native and avoid vue-native-cli. This is a big deal for ease of development and should be addressed as soon as possible. Developers here have been complaining about this issue since the end of last year, and even though the geekyants devs are looking and closing issues pertaining to this(one being 3 days ago), we have no timeline of when it will be fixed. |
Hey guys. The Vue Native team is a bit occupied with other things at the moment and this issue has been put on hold for now. Sorry that an update took so long. On iOS and Android, Metro is the only component required in the JS build pipeline. We have a custom transformer (in vue-native-scripts) which Metro uses to convert On web, though, Webpack needs to be used for intermediate transformations so that the code can run on web. Metro is used here too, but not for the transformation. From my findings, the Expo Webpack config uses the babel-loader for handling The above findings were also specifically for Expo, but once that's working, it should be possible to adapt it to bare React Native apps. We could use your help or thoughts on this. In any case, it might be a while before web is supported. |
I'm moving this issue back to core, since it is concerned with |
Hi @RishabhKarnad , do you have any estimate if / when you guys can look into this? |
Quite sad, I'm trying to make it cross platform but even trying the solutions from the suggested issue won't make it work on web, it just works on mobile. |
Hi guys are you sure this problem is solved after vue-scripts package added on devDependancies ? Im still having the same issue, I still have same error on fresh installed project I tried both windows and ubuntu OSs and getting same error yet.I also get the error on mobile but it fixes when I add babel core using yarn but npm not making it work properly.
|
Still no solution to this? What a bummer. |
If you check out the "readme-update" branch, there's a warning in the readme. I still wonder how an 8k stars project got deprecated. But I guess the only option, for now, is using NativeScript Vue. |
@phiberber I wonder the same thing myself. |
Yes, it is very disappointing. In another issue, one of the developers says "This project is not in active development." |
LOL |
I'm trying to run my app using the web variant. I'm getting this error when the app spins up. Ive tried to look through the expo-cli package to see if I could find anything and came up empty. I'm guessing that i'm missing a config somewhere.
Here is how I setup my app
The text was updated successfully, but these errors were encountered: