dwhynot
dwhynot

Reputation: 141

Why is Electron Forge dropping typeorm index.js

Electron Forge, NextJS, Typescript, and React Native app runtime error:

2025-03-06T15:06:23.146Z - ERROR: ⨯ {"code":"MODULE_NOT_FOUND","requireStack": ["/Applications/artfolio.app/Contents/Resources/app.asar/node_modules/typeorm/index.js"]}

The app runs ok with npm run dev command.

The app installs, starts up and runs fine. The database and images are deployed fine. All queries against the database throw this error. The database is fine - I've checked with a second tool.

When I extract the asar, there is no typeorm/index.js file.

Upvotes: 0

Views: 12

Answers (0)

Related Questions