bartlomieju / vite-deno-example

Example of using Vite with Deno

Home Page:https://vite-deno-example.deno.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error `deno task dev` (and others) commands when try to use `vite-extra` with react

nik-kita opened this issue · comments

Task dev deno run -A --unstable --node-modules-dir npm:vite
error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getReport')
    at isMusl (file:///home/t/deno_forge/_hft3/deno_ui/node_modules/.deno/rollup@4.6.0/node_modules/rollup/dist/native.js:5:30)
    at getPackageBase (file:///home/t/deno_forge/_hft3/deno_ui/node_modules/.deno/rollup@4.6.0/node_modules/rollup/dist/native.js:53:28)
    at Object.<anonymous> (file:///home/t/deno_forge/_hft3/deno_ui/node_modules/.deno/rollup@4.6.0/node_modules/rollup/dist/native.js:28:21)
    at Object.<anonymous> (file:///home/t/deno_forge/_hft3/deno_ui/node_modules/.deno/rollup@4.6.0/node_modules/rollup/dist/native.js:81:4)
    at Module._compile (node:module:733:34)
    at Object.Module._extensions..js (node:module:747:10)
    at Module.load (node:module:658:32)
    at Function.Module._load (node:module:539:12)
    at Module.require (node:module:677:19)
    at require (node:module:791:16)

Is it possible to fix this or may be I made something wrong (however I only run deno run -A npm:create-vite-extra@lates)?
Thanks)

image

This remove issue. So I suppose my operation system is not recognized correctly or something like this...
With this hardcoded false value for isMusl() all is worked. But hope the better solution is exists.
Thanks)

Deno 1.39.0 fix this issue, thanks!)