Truffle 800A1391 runtime error on Windows

I ran into this issue when trying to compile the code, using 'truffle compile'.

The error arises from the fact that there's a file in the project folder called 'truffle.js' and that's the one that Windows cmd tries to run when executing the command. 

The simplest way to fix the issue is to use git bash to run 'truffle compile' - no runtime errors!


Comments

Post a Comment

Popular posts from this blog

TypeError: abi.filter is not a function