Hardhat-Enterprises / Deakin-Detonator-Toolkit

Deakin Detonator Toolkit redesign using Tauri, React and Mantine.
15 stars 23 forks source link

File uploader #836

Closed slpysiren closed 1 month ago

slpysiren commented 2 months ago

Seeing if creating a new branch and re-adding dependencies fixes the issues in #500

slpysiren commented 2 months ago

Passing checks! Hopefully everything looks good now. To get this to work I essentially copied everything over from the other branch but added the uuid dependency with yarn and npm add (I'm not sure why I had to do both or if I actually did have to). I also uninstalled volta and yarn from my VM and reinstalled yarn globally with npm. Hard to say which of these was the fix but it may be worth raising an issue about whether or not volta should be advised in the installation.

michaeljpigott commented 1 month ago

Hi @slpysiren, when I run git fetch origin pull/836/head:<name> to test the code, it asks me to run yarn install which is fine. However, when I run yarn install it fails with the following message:

image

Do you have ideas about what I should do?

slpysiren commented 1 month ago

At a glance I'm not sure but I do notice your yarn version is 4.x.x which is the one I was having issues with.

If you paste that log it mentioned I can have a look later.

michaeljpigott commented 1 month ago

@slpysiren This is a copy of the log:

GNU nano 8.1 /tmp/xfs-dbbf6a33/build.log

This file contains the result of Yarn building a package (node@npm:22.7.0)

Script name: preinstall

node:internal/modules/cjs/loader:1148 throw err; ^

Error: Cannot find module '/home/kali/Deakin-Detonator-Toolkit/node_modules/node/bin/node' at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v20.16.0