We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For help, see: https://nodejs.org/en/docs/inspector [2] App threw an error during load [2] Error: Cannot find module '../electron' [2] Require stack: [2] - /........./...../dist/electron/main.js [2] - //........./...../node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js
Node Version: 18.12.1 NPM Version: 8.19.2 Electron Version: 23.1.4 Electron Builder: 23.6.0
tsconfig.json
{ "extends": "./tsconfig.json", "compileOnSave": false, "compilerOptions": { "module": "commonjs", "outDir": "dist", "types": [ "node" ] }, "files": [ ........ ], "include": [ "shared/*.ts", "shared/**/*.ts", "electron/**/*.ts" ], "exclude": [ "**/*.spec.ts", "**/__mocks__/**/*.ts", "**/*.mock.ts", "node_modules" ], "tsc-alias": { "verbose": true, "resolveFullPaths": false, "replacers": { "BaseUrl": { "enabled": false } } } }
The text was updated successfully, but these errors were encountered:
+1, did you ever find a fix for this?
EDIT: removing baseUrl from tsconfig fixed it for me
baseUrl
Sorry, something went wrong.
No branches or pull requests
Node Version: 18.12.1
NPM Version: 8.19.2
Electron Version: 23.1.4
Electron Builder: 23.6.0
tsconfig.json
The text was updated successfully, but these errors were encountered: