Truffle does not open console, instead opens truffle.js file

0 votes

I have installed truffle on Windows system. I have unboxed metacoin project and now trying to run it but truffle is not working. When I run truffle console command, it opens truffle.js file instead of truffle console. 

Jan 29 in Blockchain by Disha
48 views

1 answer to this question.

0 votes

When running truffle commands on Windows system, you have to mention the extension of the command, or else Windows will not recognize. Try:

truffle.cmd console
answered Jan 29 by Omkar
• 67,120 points

Related Questions In Blockchain

0 votes
1 answer

Add Peers does not add a peer in Geth console

Setup actual boot node, don't treat base ...READ MORE

answered Sep 28, 2018 in Blockchain by slayer
• 29,050 points
226 views
0 votes
2 answers

Why does not India consider Bitcoin as a legal tender?

to be specific there are few logical ...READ MORE

answered Jul 2, 2018 in Blockchain by Priyaj
• 56,160 points
56 views
0 votes
1 answer
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,050 points
670 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
105 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 229 views
0 votes
2 answers

Truffle console error: Could not find suitable configuration file

First, initialize truffle project by running: $ truffle ...READ MORE

answered Feb 19 in Blockchain by John
348 views
0 votes
1 answer