Ciantic
Ciantic3mo ago

Vinxi build is trying to run node.exe instead of deno.exe?

Test repo https://github.com/Ciantic/deno-solid-test/ See the error:
$ deno run -A build # this does not work, it gives error like:

Task build vinxi build
vinxi v0.4.3

Building your app...
vinxi v0.4.3
(node:53524) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node.EXE --trace-warnings ...` to show where the warning was created)
ReferenceError: Deno is not defined
at file:///C:/Source/JavaScript/solid-start-test/deno-solid-test/node_modules/.deno/@jsr+std__fs@0.221.0/node_modules/@jsr/std__fs/ensure_symlink.js:7:19
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
$ deno run -A build # this does not work, it gives error like:

Task build vinxi build
vinxi v0.4.3

Building your app...
vinxi v0.4.3
(node:53524) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node.EXE --trace-warnings ...` to show where the warning was created)
ReferenceError: Deno is not defined
at file:///C:/Source/JavaScript/solid-start-test/deno-solid-test/node_modules/.deno/@jsr+std__fs@0.221.0/node_modules/@jsr/std__fs/ensure_symlink.js:7:19
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
Notice node.EXE warning
1 Reply
Ciantic
CianticOP3mo ago
I think this would require the bun like --bun switch I opened bug to Vinxi: https://github.com/nksaraf/vinxi/issues/407 I don't know should we have bug in Deno as well

Did you find this page helpful?