Fatal error on project import
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 641
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 30
Description
### Pre-flight checklist
- [X] I have read the [contribution documentation](https://github.com/electron-userland/electron-forge/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.
### Electron Forge version
6.0.0-beta.61
### Electron version
16.0.1
### Operating system
Windows 10 19043.1348
### Last known working Electron Forge version
_No response_
### Expected behavior
I'm trying to import my project into forge (i'm a first-time user) and I'm following the guide (https://www.electronforge.io/import-existing-project)
### Actual behavior
`npm install --save-dev @electron-forge/cli` worked just fine.
Output:

However, `npm exec --package=@electron-forge/cli -c "electron-forge import"` doesn't work, as well as the listed npm6 equivalent, `npx electron-forge import`
Output of the listed npm7 command:

Output of the listed npm6 command:

### Steps to reproduce
Unfortunately I'm entirely clueless as to what would be causing this error, so I don't know how to reproduce it.
I thoroughly apologize in advance as I'm very new to GitHub issue submissions, but I'm happy to provide any other info you'd like!
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.