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, 2019 in Blockchain by Disha
167 views

1 answer to this question.

+1 vote

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, 2019 by Omkar
• 69,040 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,270 points
680 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
• 57,550 points
115 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,270 points
2,551 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,810 points
347 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, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 1,011 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, 2019 in Blockchain by John
1,777 views
0 votes
1 answer