Comments (3)
Maybe the setup is incompatible with npm or something? You were using yarn, it seems. And npx with other params as in the electron-forge docs. I did reproduce it on different, freshly setup windows 10 machines in PowerShell (8 machines at our office, 2 at home) with the same error result when copy pasting the my commands above.
As you can see, I took screenshots of all steps.
Maybe you should add to the docs, that Windows10 / PowerShell / NPM is not supported.
from electron-forge-docs.
I can't reproduce the first error:
❯ npx --no-install --ignore-existing create-electron-app --template=typescript-webpack test-ts-webpack && cd test-ts-webpack && yarn start
✔ Initializing Project Directory
✔ Initializing Git Repository
✔ Locating custom template: "typescript-webpack"
✔ Copying Starter Files
✔ Initializing NPM Module
✔ Setting up Forge configuration
✔ Setting up TypeScript configuration
✔ Installing Template Dependencies
✔ Installing NPM Dependencies
yarn run v1.22.5
$ electron-forge start
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Compiling Main Process Code
✔ Launch Dev Servers
✔ Compiling Preload Scripts
✔ Launching Application
Webpack Output Available: http://localhost:9000
(node:17403) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
webpack built 68589a9b56f245ffdecb in 432ms
Issues checking in progress...
No issues found.
Done in 13.73s.
I don't know why it would be trying to load webpack 5 things.
from electron-forge-docs.
I have the same issue. MacOS + NPM.
from electron-forge-docs.
Related Issues (20)
- Need Vue3 Framework Integration HOT 1
- 阻止代码被翻译
- electron-forge Content Security Policy HOT 2
- Document That Publish Command Pass Through Options to Make
- Better Document Publish Dry Run
- Shorthand properties not work
- occor error when start the template project which webpack-typescript
- Could not initialize new project HOT 1
- VS Code Debug Instructions Are Wrong
- No mention of vite on `Getting Started`
- WSL does now support GUI apps
- contextIsolation is not an option of config's renderer property
- Config docs should include `npm install` commands HOT 1
- king og bug erey.
- king of bug> Hi,
- Issue with Maker zip example when using releases on S3 HOT 1
- =
- dark mode HOT 5
- Add Vale linter for doc quality checks
- Command to create a project from the typescript template actually creates project from base template. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-forge-docs.