Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup Javascript error #183

Open
ericraymond opened this issue Nov 14, 2019 · 1 comment
Open

Startup Javascript error #183

ericraymond opened this issue Nov 14, 2019 · 1 comment

Comments

@ericraymond
Copy link

When I run PiBakery2 bia npm start I get the following error at startup.

ReferenceError: app is not defined
    at createMenu (/src/labs/pibakery/main.js:205:14)
    at launchPiBakery (/src/labs/pibakery/main.js:162:3)
    at Object.<anonymous> (/src/labs/pibakery/main.js:97:3)
    at Object.<anonymous> (/src/labs/pibakery/main.js:245:3)
    at Module._compile (module.js:642:30)
    at Object.Module._extensions..js (module.js:653:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at finishedCheck (/src/labs/pibakery/start.js:51:5)
    at /src/labs/pibakery/lib/updates.js:59:9
    at /src/labs/pibakery/lib/settings.js:99:5
    at /src/labs/pibakery/lib/settings.js:58:5
    at /src/labs/pibakery/node_modules/jsonfile/index.js:43:5```

PiBakery works with no issues AFAIK.
raiman264 added a commit to raiman264/pibakery that referenced this issue Oct 26, 2020
@raiman264
Copy link

@ericraymond you just have to call it from electron added PR to fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants