Uncaught Error: Returned error: VM Exception while processing transaction: revert

Hi, i get the above error meesage when i follow each steps highlighted in the OPENZEPPELIN upgrades tutorial here: OpenZeppelin Upgrades: Step by Step Tutorial for Truffle

Can you advise me why this is happening? This is after i run "await boxV2.increment()"

Uncaught Error: Returned error: VM Exception while processing transaction: revert
   at evalmachine.<anonymous>:1:15
    at evalmachine.<anonymous>:2:49
    at sigintHandlersWrap (node:vm:276:12)
    at Script.runInContext (node:vm:139:14)
    at runScript (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/packages/core/lib/console.js:381:1)
    at Console.interpret (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/packages/core/lib/console.js:396:1)
    at bound (node:domain:433:15)
    at REPLServer.runBound [as eval] (node:domain:444:12)
    at REPLServer.onLine (node:repl:902:10)
    at REPLServer.emit (node:events:513:28)
    at REPLServer.emit (node:domain:489:12)
    at REPLServer.[_onLine] [as _onLine] (node:internal/readline/interface:425:12)
    at REPLServer.[_line] [as _line] (node:internal/readline/interface:886:18)
    at REPLServer.[_ttyWrite] [as _ttyWrite] (node:internal/readline/interface:1264:22)
    at REPLServer.self._ttyWrite (node:repl:997:9)
    at ReadStream.onkeypress (node:internal/readline/interface:273:20)
    at ReadStream.emit (node:events:513:28)
    at ReadStream.emit (node:domain:489:12)
    at emitKeys (node:internal/readline/utils:357:14)
    at emitKeys.next (<anonymous>) {
  data: {
    stack: 'RuntimeError: VM Exception while processing transaction: revert\n' +
      '    at Function.RuntimeError.fromResults (C:\\Program Files\\WindowsApps\\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\ganache-core\\lib\\utils\\runtimeerror.js:94:13)\n' +
      '    at module.exports (C:\\Program Files\\WindowsApps\\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\ganache-core\\lib\\utils\\gas\\guestimation.js:142:32)',
    name: 'RuntimeError'
  },
  reason: undefined,
  hijackedStack: 'Error: Returned error: VM Exception while processing transaction: revert\n' +
    '    at Object.ErrorResponse (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/web3-core-helpers/lib/errors.js:28:1)\n' +
    '    at /mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/web3-core-requestmanager/lib/index.js:300:1\n' +
    '    at /mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/packages/provider/wrapper.js:119:1\n' +
    '    at XMLHttpRequest.request.onreadystatechange (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/web3-providers-http/lib/index.js:98:1)\n' +
    '    at XMLHttpRequestEventTarget.dispatchEvent (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:1)\n' +
    '    at XMLHttpRequest.exports.modules.996763.XMLHttpRequest._setReadyState (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/xhr2-cookies/dist/xml-http-request.js:208:1)\n' +
    '    at XMLHttpRequest.exports.modules.996763.XMLHttpRequest._onHttpResponseEnd (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/xhr2-cookies/dist/xml-http-request.js:318:1)\n' +      
    '    at IncomingMessage.<anonymous> (/mnt/c/Users/joeda/AppData/Roaming/npm/node_modules/truffle/build/webpack:/node_modules/xhr2-cookies/dist/xml-http-request.js:289:48)\n' +
    '    at IncomingMessage.emit (node:events:525:35)\n' +
    '    at IncomingMessage.emit (node:domain:552:15)\n' +
    '    at endReadableNT (node:internal/streams/readable:1359:12)\n' +
    '    at processTicksAndRejections (node:internal/process/task_queues:82:21)'

At which step of the tutorial is this happening?

Hi, sorted it now. Sorry for the late response.

It was a problem with the Migrations.js configuration.

Link here:

https://trufflesuite.com/blog/a-sweet-upgradeable-contract-experience-with-openzeppelin-and-truffle/