Getting started instructions produces app that crashes #215
Open
Description
Following getting started instructions in README creates an app that crashes.
STEPS TO REPRODUCE
- Follow the steps in readme. ie.,
- npx create-electron-app@latest my-app
- cd my-app
- npm start
- first crash re sandboxing. Follow instructions on screen to fix sandboxing issue
- npm start
- second crash prints
import { app, BrowserWindow } from 'electron';
^^^^^^
SyntaxError: Cannot use import statement outside a module
WORKAROUND
- using the webpack-typescript template works, i.e., npx create-electron-app@latest my-app --template=webpack-typescript
Metadata
Assignees
Labels
No labels