dappuniversity / election

A Decentralized Ethereum Voting Application Tutorial
563 stars 506 forks source link

facing this Issue while running command "truffle test". #46

Closed HaziqueIqbal closed 3 years ago

HaziqueIqbal commented 3 years ago

Using network 'development'.

Error: Cannot find module 'fs-extra' Require stack:

i tried alot, i also installed fs-extra command separately but didn't worked. kindly help me.

my package.json is:

{ "name": "pet-shop", "version": "1.0.0", "description": "", "main": "truffle.js", "directories": { "test": "test" }, "scripts": { "dev": "lite-server", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "chai": "^4.3.4", "fs-extra": "^3.0.1", "lite-server": "^2.3.0", "mocha": "^8.3.2" }, "dependencies": { "fs": "^0.0.1-security" } }