Failed to create react-typescript-electron project
See original GitHub issueUnable to create typescript-webpack project using the
https://www.electronforge.io/templates/typescript-+-webpack-template
yarn create electron-app my-new-app --template=typescript-webpack
An unhandled rejection has occurred inside Forge:
TypeError: Cannot destructure property 'copyCIFiles' of 'undefined' as it is undefined.
at TypeScriptWebpackTemplate.initializeTemplate (/Users/jega/.config/yarn/global/node_modules/@electron-forge/template-base/src/BaseTemplate.ts:15:56)
at TypeScriptWebpackTemplate.initializeTemplate (/Users/jega/.config/yarn/global/node_modules/@electron-forge/template-typescript-webpack/src/TypeScriptWebpackTemplate.ts:25:17)
at _default (/Users/jega/.config/yarn/global/node_modules/create-electron-app/node_modules/@electron-forge/core/src/api/init-scripts/init-custom.ts:55:42)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at _default (/Users/jega/.config/yarn/global/node_modules/create-electron-app/node_modules/@electron-forge/core/src/api/init.ts:51:5)
at /Users/jega/.config/yarn/global/node_modules/create-electron-app/node_modules/@electron-forge/cli/src/electron-forge-init.ts:29:3
Electron Forge was terminated. Location:
{}
error Command failed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Failed to create react-typescript-electron project #1374 - GitHub
Unable to create typescript -webpack project using the https://www.electronforge.io/templates/typescript-+-webpack-template yarn create ...
Read more >Create-React-App with TypeScript failing to compile after ...
I've created a new React app by running npx create-react-app@latest --typescript . and I've run the project using npm start and it all...
Read more >Build an Electron app with Typescript and React - Codiga
You can use the following commands to get an app started. Make sure you insert your project name! COPY git clone --depth 1...
Read more >Start a new Electron app with React and Typescript.
In this tutorial, I'll show you how to start an electron project from scratch using webpack, react, and Typescript.
Read more >React + Electron + Typescript — A Dev Experience (part 2)
Preparing Typescript-based Create React App; Adding Material UI ... available at the first run and therefore — Electron script may fail.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You probably have an old version of
@electron-forge/cli
installed globally. Check vianpm list --global @electron-forge/cli
.Thanks it’s working .
I have uninstall the old version and install the latest "