The following command was executed with an error truffle migrate --network sepolia

The following command was executed with an error
truffle migrate --network sepolia

SyntaxError: Invalid or unexpected token
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at requireFromString (C:\Users\PC\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\require-from-string\index.js:28:1)
at VersionRange.compilerFromString (C:\Users\PC\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\dist\compilerSupplier\loadingStrategies\VersionRange.js:95:1)
at VersionRange. (C:\Users\PC\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\dist\compilerSupplier\loadingStrategies\VersionRange.js:111:1)
at Generator.next ()
at fulfilled (C:\Users\PC\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\dist\compilerSupplier\loadingStrategies\VersionRange.js:5:43)
Truffle v5.11.5 (core: 5.11.5)
Node v18.20.4

Also, Truffle is deprecated:

1 Like