GithubHelp home page GithubHelp logo

Comments (6)

mcansh avatar mcansh commented on April 20, 2024

ahhh! I forgot to update the type for the build when using the server-build import, I've fixed it upstream remix-run/remix#3743 - I'll try and get a patch out real quick otherwise you can patch it via patch-package in the interim

from grunge-stack.

mcansh avatar mcansh commented on April 20, 2024

this is also available on the "nightly" train which only contains this fix and a few ci related things - v0.0.0-nightly-f1e94b9-20220715 which you can use by updating all of your @remix-run dependencies or by creating a new project with npx [email protected]

from grunge-stack.

sfatzinger avatar sfatzinger commented on April 20, 2024

Thanks! After updating to the nightly build you pointed me at, tsc works correctly, but I'm getting this error running npm run dev now:

✓ Sandbox Started file watcher
Watching Remix app in development mode...
⚠️  Test routes enabled.
Done in 202ms.

✘ [ERROR] Could not resolve ".//<path>/cypress/support/test-routes/create-user.ts"

    browser-route-module:/<path>/cypress/support/test-routes/create-user.ts?browser:1:24:
      1 │ ...ult } from ".//<path>/...
        ╵               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Build failed with 1 error:
browser-route-module:/<path>/cypress/support/test-routes/create-user.ts?browser:1:24: ERROR: Could not resolve ".//<path>/cypress/support/test-routes/create-user.ts"
💿 Built in 447ms

This also occurs creating a new project using the nightly build

from grunge-stack.

mcansh avatar mcansh commented on April 20, 2024

i’ve noticed that too, i’ll see if i can figure out what’s going on with that in a bit

from grunge-stack.

lukasalvarezdev avatar lukasalvarezdev commented on April 20, 2024

This error happens whenever I try to update any remix project to React 18. For example, this happens too with the indie-stack, so maybe it is an error with Remix?

from grunge-stack.

mcansh avatar mcansh commented on April 20, 2024

i think it's more-so we're doing some path.join in the stacks which isn't resolving properly

from grunge-stack.

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.