«SyntaxError: "invalid property id"» while editing the root composer.json file

Ok Dmitry , so I’ve changed my repositories to “repositories”: {
“0”: {
“type”: “composer”,
“url”: “https://repo.magento.com/
},{
“type”: “composer”,
“url”: “https://mage2.pro
}
},

but I get an error in my editor , saying SyntaxError: “invalid property id”, should I take that “0” away ?

What exact instruction point are you talking about?

about the “0”: {
, should I add a “1”: { in front of {
“type”: “composer”,
“url”: “https://mage2.pro
}

?

What exact file are you changing?

I am into composer.json

OK, now I understand, that you are changing some composer.json file, and you have a syntax error in it.
Publish your composer.json file before any changes.

{
“name”: “magento/project-community-edition”,
“description”: “eCommerce Platform for Growth (Community Edition)”,
“type”: “project”,
“version”: “2.0.6”,
“license”: [
“OSL-3.0”,
“AFL-3.0”
],
“repositories”: {
“0”: {
“type”: “composer”,
“url”: “https://repo.magento.com/
}
},
“require”: {
“magento/product-community-edition”: “2.0.7”,
“addshoppers/magento2-connector”: “",
“stripe/stripe-php”: "3.
”,
“composer/composer”: “@alpha
},
“require-dev”: {
“phpunit/phpunit”: “4.1.0”,
“squizlabs/php_codesniffer”: “1.5.3”,
“phpmd/phpmd”: “2.3.*”,
“pdepend/pdepend”: “2.2.2”,
“sjparkinson/static-review”: “~4.1”,
“fabpot/php-cs-fixer”: “~1.2”,
“lusitanian/oauth”: “~0.3 <=0.7.0”
},
“config”: {
“use-include-path”: true
},
“autoload”: {
“psr-4”: {
“Magento\Framework\”: “lib/internal/Magento/Framework/”,
“Magento\Setup\”: “setup/src/Magento/Setup/”,
“Magento\”: “app/code/Magento/”
},
“psr-0”: {
"": “app/code/”
},
“files”: [
“app/etc/NonComposerComponentRegistration.php”
]
},
“autoload-dev”: {
“psr-4”: {
“Magento\Sniffs\”: “dev/tests/static/framework/Magento/Sniffs/”,
“Magento\Tools\”: “dev/tools/Magento/Tools/”,
“Magento\Tools\Sanity\”: “dev/build/publication/sanity/Magento/Tools/Sanity/”,
“Magento\TestFramework\Inspection\”: “dev/tests/static/framework/Magento/TestFramework/Inspection/”,
“Magento\TestFramework\Utility\”: “dev/tests/static/framework/Magento/TestFramework/Utility/”
}
},
“minimum-stability”: “alpha”,
“prefer-stable”: true,
“extra”: {
“magento-force”: “override”
}
}

The easiest solution for you is just to follow the Step 3 of the my installation instruction.
The instruction states:

Change the repositories section to the following:

"repositories": [
    {
        "type": "composer",
        "url": "https://repo.magento.com/"
    }
    ,{
        "type": "composer",
        "url": "https://mage2.pro"
    }
],

A more complex solution is to use the key-value notation:

"repositories": {
	"0": {
		"type": "composer",
		"url": "https://repo.magento.com/"
	},
	"1": {
		"type": "composer",
		"url": "https://mage2.pro"
	}
}