Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT: no such file or directory when deploying #532

Open
higgsbelly2 opened this issue Mar 22, 2022 · 0 comments
Open

Error: ENOENT: no such file or directory when deploying #532

higgsbelly2 opened this issue Mar 22, 2022 · 0 comments

Comments

@higgsbelly2
Copy link

higgsbelly2 commented Mar 22, 2022

After running $ npm run deploy rinkeby

Get the following after deploying the contracts

 Error: ENOENT: no such file or directory, open 'C:\Users\higha\tribute-contracts\build\deployed/contracts-rinkeby-2022-03-22T21:51:08.609Z.json'
    at Object.openSync (node:fs:585:3)
    at Object.writeFileSync (node:fs:2157:35)
    at saveDeployedContracts (C:\Users\higha\tribute-contracts\tasks\deploy.js:574:6)        
    at SimpleTaskDefinition.action (C:\Users\higha\tribute-contracts\tasks\deploy.js:81:5)   
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Environment._runTaskDefinition (C:\Users\higha\tribute-contracts\node_modules\hardhat\src\internal\core\runtime-environment.ts:217:14)
    at async Environment.run (C:\Users\higha\tribute-contracts\node_modules\hardhat\src\internal\core\runtime-environment.ts:129:14)
    at async main (C:\Users\higha\tribute-contracts\node_modules\hardhat\src\internal\cli\cli.ts:214:5) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\Users\\higha\\tribute-contracts\\build\\deployed/contracts-rinkeby-2022-03-22T21:51:08.609Z.json'
}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant