Error: Cannot find module 'truffle-hdwallet-provider` when deploying to a public network

Hi @Rahaman,

Are you able to upgrade to Windows 10? You could then run Windows Subsystem for Linux. Solidity Smart Contract development on Windows

Developing smart contracts on native Windows can be problematic as not all projects work/test on Windows. In 2017/18 I was developing on Windows 7 and used to run into problems regularly. I have a much easier time using WSL.

You could try creating an issue for @truffle/hdwallet-provider installation on Windows.

1 Like