Closed muellerberndt closed 5 years ago
Update: The issue is fixed by installing truffle-sca2t
locally in the project directory, but it doesn't seem to work when truffle-sca2t
is installed globally only.
@b-mueller Many thanks for your raising this up!
I guess:
the test code file cannot find truffle-sca2t-mythx
since truffle-sca2t-mythx
is nested in truffle-sca2t
if truffle-sca2t
is installed globally.
On the other hand, if truffle-sca2t
is installed locally, truffle-sca2t-mythx
is also installed directly under node_modules.
I will update README and improve this at a later date.
Anyway, thx!
I updated README to prevent global install.
https://github.com/tagomaru/truffle-sca2t#getting-started https://www.npmjs.com/package/truffle-sca2t#getting-started
Hi @b-mueller
Please try v0.5.2.
If you want to install it globally, you may need to install it with mocha
and mocha-simple-html-reporter
.
https://github.com/tagomaru/truffle-sca2t#getting-started
Seems fine, I think we can close this issue?
Thx @b-mueller ! I am going to close this.
After following the README instructions I end up getting an error during
npm run test:security
:Installing
truffle-sca2t
andtruffle-sca2t-mythx
globally does not fix the issue. I ran both: