deno-plc / vite-plugin-deno

Native JSR support for Rollup/Vite
GNU Lesser General Public License v2.1
7 stars 0 forks source link

Issue resolving _ package versions #2

Open adgang opened 2 hours ago

adgang commented 2 hours ago
[h3] [unhandled] Error: Expectation failed: underscore version extension differs while processing package '@tanstack/react-router'@'1.81.10' processing '@tanstack/react-router@1.81.10_react@18.3.1_react-dom@18.3.1__react@18.3.1' hit '@tanstack/react-router@1.81.10_@tanstack+router-generator@1.81.9_react@18.3.1_react-dom@18.3.1__react@18.3.1'. Please file an issue: https://github.com/deno-plc/vite-plugin-deno/issues/new

...
Caused by Error: Expectation failed: underscore version extension differs while processing package '@tanstack/react-router'@'1.81.10' processing '@tanstack/react-router@1.81.10_react@18.3.1_react-dom@18.3.1__react@18.3.1' hit '@tanstack/react-router@1.81.10_@tanstack+router-generator@1.81.9_react@18.3.1_react-dom@18.3.1__react@18.3.1'. Please file an issue: https://github.com/deno-plc/vite-plugin-deno/issues/new
    at ModuleGraph.get_deno_info (https://jsr.io/@deno-plc/vite-plugin-deno/2.1.9/src/graph.ts:288:31)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async ModuleGraph.update_info (https://jsr.io/@deno-plc/vite-plugin-deno/2.1.9/src/graph.ts:346:9)
    at async ModuleGraph.get_module (https://jsr.io/@deno-plc/vite-plugin-deno/2.1.9/src/graph.ts:426:13)
    at async resolve (https://jsr.io/@deno-plc/vite-plugin-deno/2.1.9/src/resolve.ts:97:25)
    at async ResolveIdContext.handler (https://jsr.io/@deno-plc/vite-plugin-deno/2.1.9/mod.ts:153:34)
adgang commented 2 hours ago

Reproduction steps:

  1. Clone this repo: https://github.com/adgang/deno-tanstack-start
  2. Run deno run devv(note the double v)

Environment:

% deno --version
deno 2.0.6 (stable, release, aarch64-apple-darwin)
v8 12.9.202.13-rusty
typescript 5.6.2