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.

Not working on Electron 1.0.1

See original GitHub issue

After upgrading to Electron 1.0.1, I receive these errors:

ENOENT: no such file or directory, stat '/home/parroit/Desktop/repos/tunnels/node_modules/electron-rebuild/lib/headers/.node-gyp/1.0.1/common.gypi'
Error: ENOENT: no such file or directory, stat '/home/parroit/Desktop/repos/tunnels/node_modules/electron-rebuild/lib/headers/.node-gyp/1.0.1/common.gypi'
    at Error (native)

Looking at /home/parroit/Desktop/repos/tunnels/node_modules/electron-rebuild/lib/headers/.node-gyp, it only contains an iojs-1.0.1 folder.

I’m not sure if you yet have to publish a version that support the new Electron release, or if there is some confusion between versions…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:11
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jostrandercommented, May 12, 2016

Looks like this might be a client side issue that wasn’t though of before upgrading to ^1.0.0 semver. Here is the file in question with the lines that could be causing the issue:

https://github.com/nodejs/node-gyp/blob/master/lib/process-release.js#L50 https://github.com/nodejs/node-gyp/blob/master/lib/process-release.js#L105-L116

1reaction
micheletedeschicommented, May 13, 2016

I’ve renamed iojs-1.0.2 in 1.0.2 and the execute eletron-rebuild and work for me

mv ./node_modules/electron-rebuild/lib/headers/.node-gyp/iojs-1.0.2 ./node_modules/electron-rebuild/lib/headers/.node-gyp/1.0.2

./node_modules/.bin/electron-rebuild -f sqlite3
Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to install electron v 1.0.1 on Mac OsX #5505 - GitHub
Electron version: V1.0.1 Operating system: Mac OSX 10.11 Node version: v6.0.0 NPM Version: v3.8.6 I am not able able to install electron ......
Read more >
Error when building my electron app - Stack Overflow
I'm stuck with a problem when building my Node JS/electron app with electron-builder. It works perfectly when running npm start .
Read more >
Electron 1.0
This release allows you to build apps that act and feel truly native on Windows, Mac, and Linux. Building Electron apps is easier...
Read more >
electron (1.0.1-alpha.3) - Haxelib
This is not the latest stable version of electron. See version 21.0.0 for the latest version. To install, run: haxelib install electron 1.0.1-alpha.3....
Read more >
electron-store - npm
Simple data persistence for your Electron app or module - Save and load ... Start using electron-store in your project by running `npm...
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