Coder Social home page Coder Social logo

Comments (4)

lasas avatar lasas commented on April 27, 2024 2

I guess this is because of the . in the folder name as doing npx create-remix@latest --template examples/tailwindcss just works as expected

Well, I tried it and it doesn't work for me, errors with: Oh no! There was a problem fetching the file from GitHub. The request responded with a 404 status. Please try again later.

But workaround using full repository name worked: npx create-remix@latest --template https://github.com/remix-run/examples/tree/main/tailwindcss.

from examples.

MichaelDeBoey avatar MichaelDeBoey commented on April 27, 2024

I guess this is because of the . in the folder name as doing npx create-remix@latest --template examples/tailwindcss just works as expected

from examples.

SivertGullbergHansen avatar SivertGullbergHansen commented on April 27, 2024

Well, I tried it and it doesn't work for me, errors with: Oh no! There was a problem fetching the file from GitHub. The request responded with a 404 status. Please try again later.

But workaround using full repository name worked: npx create-remix@latest --template https://github.com/remix-run/examples/tree/main/tailwindcss.

I experience the same thing. Seems it has not been fixed yet.

from examples.

maxrchung avatar maxrchung commented on April 27, 2024

Well, I tried it and it doesn't work for me, errors with: Oh no! There was a problem fetching the file from GitHub. The request responded with a 404 status. Please try again later.

For this error, try adding remix-run/ to the front of the template parameter. The docs use a remix-run/examples/<example-dir> format but the README uses a examples/<example-dir> format. I opened a PR to update the README: #435

Edit: As for the original socket.io issue, I did a quick test and adding remix-run/ seems to work, but examples/socket.io still shows the same issue.

PS C:\Users\Max\Desktop> npx create-remix@latest --template remix-run/examples/socket.io

 remix   v2.8.0 💿 Let's build a better website...

   dir   Where should we create your new project?
         ./my-remix-app

      ◼  Template: Using remix-run/examples/socket.io...
      ✔  Template copied

   git   Initialize a new git repository?
         No

  deps   Install dependencies with npm?
         No
      ◼  Skipping install step. Remember to install dependencies after setup with npm install.

  done   That's it!

         Enter your project directory using cd .\my-remix-app
         Check out README.md for development and deploy instructions.

         Join the community at https://rmx.as/discord
PS C:\Users\Max\Desktop> npx create-remix@latest --template examples/socket.io

 remix   v2.8.0 💿 Let's build a better website...

   dir   Where should we create your new project?
         ./my-remix-app

      ◼  Template: Using examples/socket.io...

      ▲  Oh no! "examples/socket.io" is an invalid template. Run create-remix --help to see supported template formats.

from examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.