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.

$ node-pre-gyp build --runtime=node-webkit --target=0.13.0 --target_arch=x64 It produces:

/usr/lib/node_modules/node-pre-gyp/lib/util/napi.js:103
	if (package_json.binary.napi_versions) { // remove duplicates
	                        ^

TypeError: Cannot read property 'napi_versions' of undefined
    at Object.module.exports.get_napi_build_versions (/usr/lib/node_modules/node-pre-gyp/lib/util/napi.js:103:26)
    at Object.module.exports.expand_commands (/usr/lib/node_modules/node-pre-gyp/lib/util/napi.js:82:43)
    at Run.parseOpts [as parseArgv] (/usr/lib/node_modules/node-pre-gyp/lib/node-pre-gyp.js:138:20)
    at Object.<anonymous> (/usr/lib/node_modules/node-pre-gyp/bin/node-pre-gyp:24:6)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jschlightcommented, Mar 20, 2018

I’ve verified on my development system that the reported error occurs when the package.json file is missing the binary property. I have code ready for a pull request that addresses this.

0reactions
springmeyercommented, Apr 28, 2018

solved by #357

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash & Build - Global Game Jam
Crash & Build. 70 Hearts. Destroy buildings aaand BUILD THEM BACK to their original positions. You have to be fast! Don't let the...
Read more >
CRASH & BUILD - Album by BREAKERZ - Spotify
Listen to CRASH & BUILD on Spotify. BREAKERZ · Album · 2007 · 11 songs.
Read more >
[3.19]Ice Crash Hollow Palm Raider Build - Odealo
Complete Build Guide for Ice Crash Raider that uses Hollow Palm Technique Keystone and combines it with tons of Dexterity to boost the...
Read more >
Unreal Engine 5: Crash on build all - YouTube
A short video showcasing a crashing problem when trying to build all levels.
Read more >
This THUNDERCRASH Build Is BROKEN! Quick Supers ...
In this video, I'm showcasing how to make Thundercrash even better, on top of the already incredible benefit of Cuirass of Falling Star....
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