TypeScript error while bulding project

Hi there,

when i try run forge tunnel or try to deploy my project I am getting error:

Error: TypeScript errors in the app caused the bundling to fail. Fix the errors listed below before rerunning the command. [tsl] ERROR in /app/static/admin/node_modules/bind-event-listener/dist/types.d.ts(3,83)
      TS1110: Type expected.[tsl] ERROR in /app/static/admin/node_modules/bind-event-listener/dist/types.d.ts(3,100)
      TS1005: ';' expected.[tsl] ERROR in /app/static/admin/node_modules/bind-event-listener/dist/types.d.ts(3,114)
      TS1005: ';' expected.[tsl] ERROR in /app/static/admin/node_modules/bind-event-listener/dist/types.d.ts(3,177)
      TS1109: Expression expected.

my dependencies:

"dependencies": {
    "@atlaskit/flag": "^14.7.1",
    "@atlaskit/button": "^16.3.3",
    "@atlaskit/checkbox": "^12.3.15",
    "@atlaskit/code": "^14.3.7",
    "@atlaskit/css-reset": "^6.3.13",
    "@atlaskit/form": "^8.5.5",
    "@atlaskit/icon": "^21.10.7",
    "@atlaskit/page": "^12.1.3",
    "@atlaskit/radio": "^5.3.11",
    "@atlaskit/section-message": "^6.1.13",
    "@atlaskit/select": "15.3.0",
    "@atlaskit/side-navigation": "^1.2.12",
    "@atlaskit/tabs": "^13.2.11",
    "@atlaskit/textarea": "^4.3.8",
    "@atlaskit/textfield": "5.1.9",
    "@atlaskit/theme": "^12.1.9",
    "@atlaskit/tokens": "^0.10.9",
    "@atlaskit/tooltip": "^17.5.12",
    "@emotion/core": "^11.0.0",
    "@emotion/react": "^11.9.3",
    "@forge/api": "^2.7.0",
    "@forge/bridge": "^2.4.0",
    "@forge/ui": "^1.4.0",
    "react": "^16.8.0",
    "react-dom": "^16.8.0",
    "react-intl": "^6.2.1",
    "styled-components": "^4.4.1",
    "@atlaskit/datetime-picker": "^12.3.0"
  },

tsconfig.json:

{
  "compilerOptions": {
    "target": "es5",
    "lib": [
      "es5", "es6", "dom", "dom.iterable", "ES2015"
    ],
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noFallthroughCasesInSwitch": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
    "useUnknownInCatchVariables": false
  },
  "include": [
    "./src"
  ]
}

Thank you

Hi @janambroz ,

If you’re running on node version 16, try updating to node version 18.

Regards,
Dugald