---
title: "Discussion on \"How to Fix Npx Hardhat Issues\" | Hashnode"
description: "Discussion on \"How to Fix Npx Hardhat Issues\". How to fix Npn hardhat Issues"
url: "https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Fix Npx Hardhat Issues](https://marsifeanyi.hashnode.dev/how-to-fix-npx-hardhat-issues?utm_source=hashnode&utm_medium=feed)

How to fix Npn hardhat Issues

Mar 7, 2022 · 2 min read · marsifeanyi.hashnode.dev  
Updated Mar 23, 2022  
Read the article

-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#ethereum](https://hashnode.com/tag/ethereum)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Marcellus Ifeanyi](https://hashnode.com/@MarsIfeanyi)

@MarsIfeanyi · On-Chain

  
[View profile](https://hashnode.com/@MarsIfeanyi)

Data & Analytics Engineer | Software Engineer | Quant & Chartered Trader | AI/ML | Blockchain Developer

💻 Software Engineer | Web3-Blockchain Engineer | Quant &amp; Chartered Trader ⚡ I write Software and Blockchain Codes and Build Applications and Decentralized Applications(Dapps) that Interact with Humans, Solve Business Problems, in Secured and Cost-Efficient Algorithm

## Responses 4

Markdown supported · ⌘↵ to post

[Gabrael EL](https://hashnode.com/@turfin)

[Sep 26, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6331e0cd4dd8b2344a769a92)

I am still not sure how to correct my Project folder if it's in the same folder that contains your node\_modules.

[Marcellus Ifeanyi](https://hashnode.com/@MarsIfeanyi)

[Nov 26, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6331e0cd4dd8b2344a769a92#reply-63829fefdef1df04cdae9c7d)

Your node modules will always be located in your root directory. To avoid having conflicts with your node modules, create your project in your "documents" file path or folder or any other file path/directory that is not the root directory

[Marcellus Ifeanyi](https://hashnode.com/@MarsIfeanyi)

[Nov 26, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6331e0cd4dd8b2344a769a92#reply-6382a0f7bdbd2c06dff637e8)

if you still have further issues with it reach out to me on LinkedIn or Twitter, i will have a live session and guide you to fix it up

[Ayorinde Taiwo](https://hashnode.com/@ayortee)

[Mar 24, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/623c2b331c706d8773d32f60)

This was really helpful. Thanks for sharing.

[Marcellus Ifeanyi](https://hashnode.com/@MarsIfeanyi)

[Mar 24, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/623c2b331c706d8773d32f60#reply-623c4f432f1688874dee3ddf)

Glad, you got insight...

[Desmond Obisi](https://hashnode.com/@learn-with-dex)

[Mar 7, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6225ad5fc705276a2dd2f655)

Very helpful. Thanks for sharing

[Marcellus Ifeanyi](https://hashnode.com/@MarsIfeanyi)

[Mar 7, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6225ad5fc705276a2dd2f655#reply-6225d39cecb2d35f765e603d)

Glad you got insight from my little write up

[Chinonso Francis](https://hashnode.com/@Francis001)

[Mar 7, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6225ac5becb2d35f765e59e8)

Nice read Sir. Thanks for sharing

[Marcellus Ifeanyi](https://hashnode.com/@MarsIfeanyi)

[Mar 7, 2022](https://hashnode.com/posts/how-to-fix-npx-hardhat-issues/6225a647ecb2d35f765e591a/comment/6225ac5becb2d35f765e59e8#reply-6225d37cecb2d35f765e602d)

glad you got insight from my little write-up
