System Information
- Strapi Version: 4.5.6
- Operating System: Windows Server 2019 with IIS
- Database: MariaDB
- Node Version: 16.15.x
- NPM Version: 8.5.5
Hi,
I’m running PM2 on a Windows Server 2019 setup but ran into an error. Here is more details on the error, the error below is what I get if I start the Frontend :
C:\Users\path\AppData\Roaming\nvm\v16.15.0\NPM.CMD:1
:: Created by npm, please don’t edit manually.
^SyntaxError: Unexpected token ‘:’
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Object. (C:\Users\moneyedgeadmin\AppData\Roaming\npm\node_modules\pm2\lib\ProcessContainerFork.js:33:23)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
A bit of background on the setup and issue & a screenshot of the error.
- As mentioned it’s running on a Windows Server 2019 with IIS.
- It’s a Strapi Backend running & a React Frontend.
- PM2 installed and working 100%.
Any help or input would be appreciated.
Thanks.