Error: You must specify a network_id in your 'rinkeby' configuration in order to use this network

Hello,

I'm currently trying to deploy a few smartcontracts to the rinkeby testnet. But whenever I try to run the command npx truffle console --network rinkeby I get the following error message : Error: You must specify a network_id in your 'rinkeby' configuration in order to use this network.

I'm not quite sure why, since I did configure my network_id in truffle-config.js

Help would be much appreciated!

truffle-config.js

const {alchemyApiKey, mnemonic } = require('./secrets.json');

const HDWalletProvider = require('@truffle/hdwallet-provider');

module.exports = {
 
  networks: {

     development: {

          rinkeby: {

              provider: () => new HDWalletProvider(

                mnemonic, `https://eth-rinkeby.alchemyapi.io/v2/${alchemyApiKey}`,

              ),

              network_id: 4,

              gasPrice: 10e9,

              skipDryRun: true,

            },


  },

  mocha: {

  },

  compilers: {

    solc: {

      version: "0.8.0",    

    }

  },

}
}

secrets.json

{

    "mnemonic": "antique bleak maze ....",

    "alchemyApiKey": "Ro3ZU...."

  }