electron / electron/windows-installer

Does not work at all

Open
#477 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
267
Avg merge
5h 38m
Merged PRs (30d)
1

Description

I copy pasted the code from the docs, the result is:

```
SyntaxError: await is only valid in async functions and the top level bodies of modules
```

I deleted `await` and the result is:

```
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
[Error: ENOENT: no such file or directory, open '\app\resources\app\package.json'] {
```

I do not understand why it tries to use incorrect path.

So, how to use it correctly?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.