简体   繁体   中英

How do you resolve the following error: Error: Cannot find module '@openzeppelin/test-helpers' (when typing 'truffle test' in VSCode terminal)

I am trying to create a blockchain project and as I type in the following: truffle test - in the VSCode IDE terminal, I get the following error:

Error: Cannot find module '@openzeppelin/test-helpers'

I am trying to create a blockchain supply chain project using Solidity programming language in VSCode IDE.

run

truffle compile --all
truffle migrate --reset

and it solve

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM