Giter VIP home page Giter VIP logo

template-remix's Issues

Can't launch

What

Can't get the remix template to work at all (tried npm, pnpm, bun)
image

✘ [ERROR] Could not resolve "react/jsx-dev-runtime"

    app/routes/index.tsx:99:4:
      99 │         <Player
         ╵         ^

  The Yarn Plug'n'Play manifest forbids importing "react" here because it's not listed as a dependency of this package:

    ../.pnp.cjs:38:33:
      38 │           "packageDependencies": [\
         ╵                                  ~~

  You can mark the path "react/jsx-dev-runtime" as external to exclude it from the bundle, which will remove this error.


💿 Rebuilt in 384ms
Remix App Server started at http://localhost:3000 (http://10.191.0.102:3000)
Error: Cannot find module '/home/thecmdrunner/remix-test/api/index.js'
Require stack:
- /home/thecmdrunner/remix-test/node_modules/@remix-run/serve/dist/index.js
- /home/thecmdrunner/remix-test/node_modules/@remix-run/dev/dist/devServer/serve.js
- /home/thecmdrunner/remix-test/node_modules/@remix-run/dev/dist/cli/commands.js
- /home/thecmdrunner/remix-test/node_modules/@remix-run/dev/dist/cli/run.js
- /home/thecmdrunner/remix-test/node_modules/@remix-run/dev/dist/cli/index.js
- /home/thecmdrunner/remix-test/node_modules/@remix-run/dev/dist/index.js
- /home/thecmdrunner/remix-test/node_modules/@remix-run/dev/dist/cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Function.Module._load (node:internal/modules/cjs/loader:920:27)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at /home/thecmdrunner/remix-test/node_modules/@remix-run/serve/dist/index.js:43:17
    at Layer.handle [as handle_request] (/home/thecmdrunner/remix-test/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/thecmdrunner/remix-test/node_modules/express/lib/router/route.js:144:13)
    at next (/home/thecmdrunner/remix-test/node_modules/express/lib/router/route.js:140:7)
    at next (/home/thecmdrunner/remix-test/node_modules/express/lib/router/route.js:140:7)
    at next (/home/thecmdrunner/remix-test/node_modules/express/lib/router/route.js:140:7)
GET / 500 - - 2.311 ms

How to reproduce

  1. npm create video - select remix template
  2. npm run dev

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.