Tag: Windows


  • Expo on Codespaces

    Expo on Codespaces

    What will I need?

    How long will it take?

    About ten minutes.

    Lets give it a go!

    Create a new Codespace using the blank template:

    Once initalised, create an empty Expo React App (select (y)es when prompted):

    npx create-expo-app example

    Install the expo-cli command line tool globally:

    npm install -g expo-cli

    Change into your example project’s folder and edit App.js, maybe adding an image or whatever, before updating packages:

    cd example
    npm update

    Login to your Expo account from the command line:

    Create an account with Expo and login using the expo login command.

    Expo-cli supports tunnelling, a proxy URL accesible from any device over the Internet, using ngrok.

    expo start --tunnel

    After installing the requested library (@expo/ngrok@^4.1.0), you should see a QR code:

    Open the Expo Go app on your device, login, and then scan the QR code. The app will bundle and be available on your device.

    Further reading


  • No Internet access in WSL

    No Internet access in WSL

    Windows might generate a /etc/resolv.conf with an incorrect nameserver while installing Windows Subsystem for Linux (WSL).

    It’s a quick fix – edit /etc/resolv.conf and change the nameserver (Google’s is 8.8.8.8).

    To prevent it being overwritten, create or edit /etc/wsl.conf adding the option generateResolvConf = false.


  • Windows Store missing

    Windows Store missing

    Windows Store is never installed when I do a clean install of Windows 11. No idea why. The easiest solution is to run Xbox, and you’ll see:

    Fix them in settings

    Click “Fix them in settings”:

    Dependencies

    Install Microsoft Store.