Giter VIP home page Giter VIP logo

Comments (3)

BananaAcid avatar BananaAcid commented on June 14, 2024 1

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.

malept avatar malept commented on June 14, 2024

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.

shadanan avatar shadanan commented on June 14, 2024

I have the same issue. MacOS + NPM.

from electron-forge-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.