PatrickAlphaC / hardhat-fund-me-fcc

82 stars 183 forks source link

compile error #78

Closed Mohsen0Rashidi closed 1 year ago

Mohsen0Rashidi commented 1 year ago

Hi guys . I'm having this issue when i tried to compile or deploy my projects An unexpected error occurred:


Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:713:9)
    at execFile (node:child_process:329:17)
    at output (I:\Solidity\My all projects\Fund-Me\node_modules\hardhat\src\internal\solidity\compiler\index.ts:65:31)
    at new Promise (<anonymous>)
    at NativeCompiler.compile (I:\Solidity\My all projects\Fund-Me\node_modules\hardhat\src\internal\solidity\compiler\index.ts:64:34)
    at SimpleTaskDefinition.action (I:\Solidity\My all projects\Fund-Me\node_modules\hardhat\src\builtin-tasks\compile.ts:639:37)   
    at Environment._runTaskDefinition (I:\Solidity\My all projects\Fund-Me\node_modules\hardhat\src\internal\core\runtime-environment.ts:308:35)
    at Environment.run (I:\Solidity\My all projects\Fund-Me\node_modules\hardhat\src\internal\core\runtime-environment.ts:156:25)   
    at SimpleTaskDefinition.action (I:\Solidity\My all projects\Fund-Me\node_modules\hardhat\src\builtin-tasks\compile.ts:700:24) { 
  errno: -4094,
  code: 'UNKNOWN',
  syscall: 'spawn'
}

Does anyone can help to solve this error???? thank you

PatrickAlphaC commented 1 year ago

No idea. This might be a good stack exchange eth question.