question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build error "Cannot read property 'x' of undefined"

See original GitHub issue
  • Version: 7.11.2
  • Target: macOS dmg or NSIS

I have this error when I build my electron for macOS .dmg or NSIS. It works well in older electron-builder releases.

Packaging for platform win32 x64 using electron 1.4.3 to ../pkg/dist/win-unpacked

Unhandled rejection TypeError: Cannot read property 'x' of undefined

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
develarcommented, Oct 7, 2016

@popod Please remove path “computed path to artifact, do not specify it - will be overwritten”.

0reactions
develarcommented, Oct 7, 2016

@popod Fixed. Order doesn’t matter anymore, "type": "file" is not required anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property 'x' of undefined ...
When you forget the var you are creating a global variable -- or in this case, redefining the global self as your local...
Read more >
Uncaught TypeError: Cannot read property 'x' of undefined
'Undefined' is the property of the global object. This error occurs in Chrome Browser when you read a property or call a method...
Read more >
Uncaught TypeError: Cannot read property of undefined In
Uncaught TypeError : Cannot read property of undefined error occurs in Chrome when you read a property or call a method on an...
Read more >
[SOLVED] Error: TypeError: Cannot read Property X of undefined
I keep getting (on the client side in the console) the error: TypeError: Cannot read property "runOn" of undefined. and it's at the...
Read more >
Uncaught TypeError : Cannot read properties of undefined
As we are discussing the Error Uncaught TypeError: Cannot read property of undefined, let's understand the JavaScript built-in error first, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found