The requested contract was not found

I ran npm run dev after running npm run build and I get the following error

deployUpgradableContract src/ClearingHouse.sol:ClearingHouse:[100000000000000000,62500000000000000,12500000000000000,0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e,0x5FC8d32690cc91D4c39d9d3abcBD16989F875707]
An unexpected error occurred:

Error: The requested contract was not found. Make sure the source code is available for compilation
    at getContractNameAndRunValidation (/Users/nsai/Projects/git/perpetual-protocol/node_modules/@openzeppelin/hardhat-upgrades/node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:46:11)
    at Object.assertUpgradeSafe (/Users/nsai/Projects/git/perpetual-protocol/node_modules/@openzeppelin/hardhat-upgrades/node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:11:26)
    at Proxy.deployProxy (/Users/nsai/Projects/git/perpetual-protocol/node_modules/@openzeppelin/hardhat-upgrades/src/deploy-proxy.ts:43:5)
    at OzContractDeployer.deploy (/Users/nsai/Projects/git/perpetual-protocol/publish/OzContractDeployer.ts:27:31)
    at ContractWrapper.deployUpgradableContract (/Users/nsai/Projects/git/perpetual-protocol/publish/contract/ContractWrapper.ts:36:25)
    at /Users/nsai/Projects/git/perpetual-protocol/publish/migrations/0001-layer2-deployBasicContracts.ts:64:13
    at executeMigration (/Users/nsai/Projects/git/perpetual-protocol/publish/Migration.ts:95:9)
    at migrate (/Users/nsai/Projects/git/perpetual-protocol/publish/Migration.ts:164:9)
    at SimpleTaskDefinition.action (/Users/nsai/Projects/git/perpetual-protocol/hardhat.config.ts:78:9)
    at Environment._runTaskDefinition (/Users/nsai/Projects/git/perpetual-protocol/node_modules/hardhat/src/internal/core/runtime-environment.ts:217:14)

:computer: Environment

MacOSx

Using the following dependencies

@nomiclabs/hardhat-truffle5": "2.0.0",
@nomiclabs/hardhat-waffle": "2.0.1",
@nomiclabs/hardhat-web3": "2.0.0",
solc": "0.6.9",
"ethers": "5.0.24",
"hardhat": "2.1.1",

:memo:Details

on running simulate on localhost the contract Clearinghouse.sol mentions that an address is not registered. On running `npm run dev ClearingHouse the code breaks and results in the above error.
:1234: Code to reproduce

following the instructions mentioned in this git

https://github.com/perpetual-protocol/perpetual-protocol

Please report this in the perpetual-protocol/perpetual-protocol repository. It sounds like a bug in their scripts.

thank you for your response