Giter VIP home page Giter VIP logo

Comments (6)

knames avatar knames commented on May 28, 2024 1

I am running into a similar issue with the 0.5.2. Works fine on Mac OS but runs into the Panic with windows.

#5592 @knames how did you get around this issue on windows?

Might be hitting the limit on windows path length (256 characters unless you enable long paths), especially when using pnpm (crazy long nesting, they have a ticket to change it to hashes after 30 chars but who knows when that’s out).

Try getting as close to c:/ as possible, don’t use long names for folders. That’s what it was for my coworkers at least.

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on May 28, 2024

I am running into a similar issue with the 0.5.2. Works fine on Mac OS but runs into the Panic with windows.

#5592
@knames how did you get around this issue on windows?

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on May 28, 2024

well I tried by enabling the long paths in the registry - still running into that same panic. And I am using yarn.

from rspack.

hardfist avatar hardfist commented on May 28, 2024

well I tried by enabling the long paths in the registry - still running into that same panic. And I am using yarn.

what is your rspack version and try set chunkIds to deterministic

from rspack.

pushkargupta9807 avatar pushkargupta9807 commented on May 28, 2024

well I tried by enabling the long paths in the registry - still running into that same panic. And I am using yarn.

what is your rspack version and try set chunkIds to deterministic

I am on rspack v 0.5.3 and I tried setting the chunkIds to "deterministic", but ran into the same error below:

Message: internal error: entered unreachable code
Location: C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\oxc_resolver-1.2.2\src\path.rs:69

from rspack.

dxhsmwqcwelllee avatar dxhsmwqcwelllee commented on May 28, 2024

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: Module(/Users/doorgod/Desktop/www/AbcPc/node_modules/sax/lib/sax.js) should be added before using
Location: crates/rspack_core/src/chunk_graph/chunk_graph_module.rs:75

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Accidental phenomena, why?

from rspack.

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.