Hi @Zee,
Welcome to the community
I’m sorry that you are having an issue. Are you able to share your smart contract so I can try to reproduce?
What versions of node/npm/truffle are you using? The easiest way to get these is to run
npx truffle version
if truffle is installed locally, otherwise truffle version
if truffle is installed globally.
This is what I am running currently:
$ npx truffle version
Truffle v5.1.29 (core: 5.1.29)
Solidity - ^0.6.0 (solc-js)
Node v10.19.0
Web3.js v1.2.1
I use Windows Subsystem for Linux (WSL2) and rarely have issues compared with native Windows. I would recommend having a look at using WSL: Solidity Smart Contract development on Windows