Error! Message:
[nodemon] starting `babel-node index.js`
C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:328
throw e;
^
Oops! Babel version mismatch - Requires Babel "^7.0.0-0", but loaded with "6.26.3". Check if your @babel/core version is compatible. Make sure nothing in your build process is loading the wrong version. Review stack trace for details on what's calling Babel incorrectly. (Processing preset: "C:\\Users\\Zara Gunner\\FYP\\fourthyearproject\\fourthyearproject\\node_modules\\@babel\\preset-env\\lib\\index.js")
at throwVersionError (C:\Users\Zara Gunner\FYP\fourthyearproject\fourthyearproject\node_modules\@babel\helper-plugin-utils\lib\index.js:78:11)
at Object.assertVersion (C:\Users\Zara Gunner\FYP\fourthyearproject\fourthyearproject\node_modules\@babel\helper-plugin-utils\lib\index.js:28:5)
at C:\Users\Zara Gunner\FYP\fourthyearproject\fourthyearproject\node_modules\@babel\preset-env\lib\index.js:251:7
at C:\Users\Zara Gunner\FYP\fourthyearproject\fourthyearproject\node_modules\@babel\helper-plugin-utils\lib\index.js:22:12
at C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:317:46
at Array.map (<anonymous>)
at OptionManager.resolvePresets (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
at OptionManager.mergePresets (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
at OptionManager.mergeOptions (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
at OptionManager.init (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at compile (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:103:45)
at loader (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:144:14)
at Object.require.extensions.<computed> [as .js] (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-register\lib\node.js:154:7)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at Object.<anonymous> (C:\Users\Zara Gunner\AppData\Roaming\npm\node_modules\babel-cli\lib\_babel-node.js:154:22)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'BABEL_VERSION_UNSUPPORTED',
version: '6.26.3',
range: '^7.0.0-0'
}