NFCToolsGUI icon indicating copy to clipboard operation
NFCToolsGUI copied to clipboard

error when run npm run make

Open nictronik99 opened this issue 11 months ago • 3 comments

An unhandled rejection has occurred inside Forge: Error: Command failed: git rev-parse --short HEAD fatal: not a git repository (or any of the parent directories): .git at checkExecSyncError (node:child_process:890:11) at execSync (node:child_process:962:15) at Proxy.generateAssets (C:\Users\myname\Downloads\NFCToolsGUI-main\forge.config.js:43:26) at Task.task (C:\Users\myname\Downloads\NFCToolsGUI-main\node_modules@electron-forge\core\dist\util\hook.js:33:42) at Task.run (C:\Users\myname\Downloads\NFCToolsGUI-main\node_modules\listr2\dist\index.cjs:978:35)

nictronik99 avatar Mar 12 '24 00:03 nictronik99

got an error too in the npm make one debian: An unhandled rejection has occurred inside Forge: Error: spawn zip ENOENT at ChildProcess._handle.onexit (node:internal/child_process:284:19) at onErrorNT (node:internal/child_process:477:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

My bad, on linux you have to install zip (sudo apt-get install zip) in order to get it working

ygrekconsutling avatar Jun 10 '24 23:06 ygrekconsutling

@nictronik99 You need to clone the repository instead of downloading the source code.Cloning a repository

then Compile the core component, and then Compile GUI

Bendikos avatar Jun 23 '24 04:06 Bendikos

@nictronik99 You need to clone the repository instead of downloading the source code.Cloning a repository

then Compile the core component, and then Compile GUI

Thank you very much

nictronik99 avatar Jun 23 '24 08:06 nictronik99