It all started when I tried to use the hot reload for storybook, which worked fine on my Macbook, but for whatever reason didn't work on my Windows machine.
I always got a request to __webpack_hmr which would be in the pending-state für about 10 seconds after which it got cancelled and then this cycle would start again.
Since I was running into the same problem with the very basic example from the webpack-hot-middleware GitHub I could rule out storybook.
After a bit of playing around with the example I finally figured out that when using --host=[::1] to start the "server" the hot reload actually started to work. But no luck using anything else like --host=localhost or --host=127.0.0.1.
But I'm still wondering why does the IPv6 host work, but no other configuration? Has anyone run in the same problem before? Why is this problem windows specific and is there anything I can change about my setup?
Related
I'm working on a project in solidjs. For some time now when I click on every button present in my application it does not report. I don't know why because I haven't modified any of my buttons. I'm working on MS Edge, believing it's a browser issue, I re-ran my app on Opera but no success. I also stopped my server then restarted it but nothing. I even shut down my computer and restarted it after a while with no success. So I deleted then reinstalled my node_modules folder but without success. I still face the same problem. I searched the internet for solutions but couldn't find anything about it. I'm working on solid-js version 1.3.3. Thank you for your help !
I am attempting to make my own app with React Native, however it appears as though I'm working harder to get Expo to work more than I am trying to actually debug the app itself. I have tried with LAN, Tunnel, and Local but none of them seems to work. I will get it on some days and it will work fine.. for about 5 minutes and then it will time out or lose connection. Some days though it will just continue to try and load but will never actually pull up the app. I suspect this is because I am using my hotel wifi as well as a vpn (for security on a public network of course). I am wondering if there are any alternatives to expo that I might be able to use because this problem is starting to become very frustrating. Thanks!
You should be able to start Expo in offline mode so that your internet shouldn't be an issue. If you're using yarn the command would be yarn start --offline. You may also need to select Local once Expo launches.
Source: https://github.com/expo/expo-cli/issues/101
I'm taking an online course and created an app for a previous project and ran it on localhost:8000. I did use service workers if that matters. Now I'm working on a new app, also on localhost:8000 but it is still showing the previous app. If I go to the page in firefox, I see the app I'm working on but I need to see it in chrome. I never opened my previous app before in firefox, which is probably why I can see the new one.
Any idea what's happening here and how to fix it?
Thanks,
Michael
You should probably check your terminals if you have left your previous server running, and change the port to view your current project.
Basically, when I make mistake somewhere and the app crashes, no matter what I do, it stays crashed. Deleting last changes, restarting the server, nothing... So, I have to create a new project, copy everything to a new project, and it works.
Help please, I have no idea what's going on.
Running the latest version of Meteor on Linux Mint 18.2.
When you get the message "Your app is crashing" in the browser, I think it has given up, and you need to refresh the brower. In fact, refreshing the browser is sometimes necessary anyway.
Meteor detects changes to files pretty well, but sometimes struggles with new, deleted or moved files, and you may need to restart meteor and refresh the browser. You shouldn't need to copy to a new project.
Im doing an app for Android. I'm using Genymotion for debug. Everythings working perfectly there.
However, when i'm trying on my phone, the first run after install will go fine. After that i kill the app from the task manager and start the app again. Many of the JavaScripts are failing, some of working, but the weirdest thing is that even alert() not working anywhere.
Anybody had the same problem before? Or any advices? Maybe it's a cache, phone, ROM related thing?
UPDATE
What i've tried so far:
<preference name="KeepRunning" value="false"/>
android:clearTaskOnLaunch="true"
Enable the console plugin of phonegap and watch logcat logs for anything wrong that might have happened.
Couldn't find any real fix in hours. Tried the unaligned version of the APK and it's working fine, so it must be something with the ziptool, i'll try with other ones.