You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following stack trace occurs when attempting to run mantis locally using npm start:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Module build failed (from ./node_modules/ts-loader/index.js):
/home/matt/github/mantis-viewer/node_modules/typescript/lib/typescript.js:139
for (let i = startIndex ?? 0; i < array.length; i ) {
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:85:18)
at Object.<anonymous> (/home/matt/github/mantis-viewer/node_modules/ts-loader/dist/utils.js:6:20)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at ./main.ts (/home/matt/github/mantis-viewer/app/main.js:10:7)
at /home/matt/github/mantis-viewer/app/main.js:21:43
at Object.<anonymous> (/home/matt/github/mantis-viewer/app/main.js:23:12)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at loadApplicationPackage (/home/matt/github/mantis-viewer/node_modules/electron/dist/resources/default_app.asar/main.js:110:16)
at Object.<anonymous> (/home/matt/github/mantis-viewer/node_modules/electron/dist/resources/default_app.asar/main.js:222:9)
This is after the following npm installations:
npm install canvas
npm install
npm version: 8.5.1
node version: v12.22.9
The text was updated successfully, but these errors were encountered:
The following stack trace occurs when attempting to run mantis locally using
npm start
:This is after the following npm installations:
npm version: 8.5.1
node version: v12.22.9
The text was updated successfully, but these errors were encountered: