vue-demi
vue-demi copied to clipboard
Skip postinstall script in Deno
Skip postinstall script if node is not in the path, which may be the case if only deno is used (such as in CI).
Currently it is causing an error as mentioned here: https://github.com/denoland/deno/issues/21110#issuecomment-2271861789
Error launching 'node': No such file or directory (os error 2)
error: script 'postinstall' in '[email protected]' failed with exit code 1
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
This prevents vitepress from working on Deno.
On the other hand, I am worried that this might not work in Windows. Could you help to verify/check that?
It definitely doesn't as Windows doesn't have such command.
'which' is not recognized as an internal or external command,
operable program or batch file.
Would love this to be fixed. Trying to use Vueuse with the new Deno 2,0 but no luck.