Error in Truffle-Config.js

When coding the ERC20 token, using //“SPDX-License-Identifier: UNLICENSED” and
pragma solidity 0.8.6;

I get a error in the truffle-config.js file

// Configure your compilers
compilers: {
solc: {
version: 0.8.6,

the Error says this underneath the “.6” at the end of the 0.8.6
‘,’ expected.ts(1005)
(property) .6: any

Please help

Hey @VEXAHEDRON, hope you are ok.

It could be that you are missing the close brackets for the compilers and solc.

Here’s one of my config, just to give you an idea.

image

Carlos Z