0

enter image description here

First of all i can´t execute truffle writing truffle console. Instead of that I have to write truffle.cmd console. When im in the truffle console and I try to execute test over my contracts I get syntax error over test. I can´t solve this issue because in truffle docu the way toexecute test is that way.

Any help??

UnexpectedCharacter
  • 852
  • 1
  • 11
  • 30

2 Answers2

1

When you're in the truffle console you shouldn't use the truffle keyword anymore - all commands go to truffle directly.

The problem with executing truffle in Windows is a known one and looks like it hasn't been fixed yet (Truffle -- Microsoft JScript runtime error). Just use truffle.cmd instead of truffle and all will work just fine.

Lauri Peltonen
  • 29,391
  • 3
  • 20
  • 57
0

I solve the issue writing only test. Without truffle in the command line

UnexpectedCharacter
  • 852
  • 1
  • 11
  • 30