nwjs/npm-installer

Problem with postinstall script

Xisabla opened this issue · 7 comments

When I try to install nw package I have this error :

Screen

As gist: https://gist.github.com/Xisabla/b0803b338d757ebe753875665ceb278c

Here is the log gist : https://gist.github.com/Xisabla/733676edaed4248c7b503b1033b87be9

I'm running node & npm on raspbian (Linux 8 jessie), I tried updating npm & reinstalling node, nothing changed.

What's the npm's version? What's the Node's version?

Could it be the same problem as in #42?

Npm version is 4.5.0 and Node's 7.10.0

I even tried in sudo and it changed nothing :/

Ah, now I get it.

I should have noticed sooner that the nature of this error is clearly different from #42.

We actually see the results of line 54 of the script which is reporting a “404 Not Found” error from the network.

However, I could not reproduce this error on my side by merely running npm install nw@0.22.1 right now.

Therefore I strongly suspect that the binary-hosting server (and the binary-downloading code) is fine, and the error is actually caused by one of the following causes:

The latter seems quite likely to be the real reason here.

NW.js does not seem to provide downloadable binaries for ARMs of Raspberry Pies (and thus the nw package cannot download the binaries), though you may try some third-party ideas about building such binaries.

Ok I understand, it's due to the ARM architecture.
I'll try the method you are proposing to me :)

The issue is closed.