question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use version 6.0.0 with typescript?

See original GitHub issue

In electron forge <= 5 you provided build in templates for angular2. It was super easy to generate the boiler plate with electron-forge init my-project --template=angular2. In Version 6.0.0 such template does not exists anymore. I wonder how to create electron forge project that uses typescript main file and allows to add angular project. Any example is very appreciated. Many thanks. Edit: it looks that you already experimented with typescript #704. How to get it work?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
kzimnycommented, Jun 14, 2019

Thank you @MarshallOfSound. I got it work with typescript + sqlite3 + typeorm but only in development mode running npm run start. An example is on my repo https://github.com/kzimny/electron-typescript-sqlite3-typeorm/tree/electron-forge-6. May I kindly ask you to give me a hint how to get reference to typeorm + sqlite3 when the solution is build for executable file with npm run package. Actually I’m getting an error “Cannot find module ‘typeorm’”. image I’m not familiar wit webpack, I suppose that the required native modules are not copied. How to get it work? Thank you very much for your help!

0reactions
SergeEsmanovichcommented, Aug 23, 2020

@kzimny I resolved problem, need use 8 version electron, 9 version don’t work

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use version 6.0.0 with typescript? #935 - GitHub
In Version 6.0.0 such template does not exists anymore. I wonder how to create electron forge project that uses typescript main file and ......
Read more >
Forge CLI version 6.0.0 - 25th October 2022
We've released version 6.0.0 of the Forge CLI. This update includes: :tada: Forge CLI now uses TypeScript 4.8.4. Forge now uses TypeScript ......
Read more >
6.0.0 - ws - npm
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js. Latest version: 8.9.0, last published: 19 days ...
Read more >
npm WARN @typescript-eslint/eslint-plugin@1.6.0 requires a ...
In the Terminal go to the folder with your project and type 'npm install --save typescript'; Then type 'npm install'. It helped me....
Read more >
Firebase JavaScript SDK Release Notes - Google
The earlier update in version 9.13.0 upgraded TypeScript only in the root. ... Fixed a regression introduced in 6.0.0 that caused code to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found