It is trying to compile migrations scripts as solidity code. That will not work. Move migrations scripts to the directory migrations and rename them with the .js extension. Your project should look like this migrations\ 1_Migrations.js 2_Migrations.js contracts\ Token.sol

Only top voted, non community-wiki answers of a minimum length are eligible