addaleax / lzma-native

Node.js interface to the native liblzma compression library (.xz file format, among others)
MIT License
105 stars 37 forks source link

Error: Cannot find module 'binding-v3.0.1-node-v57-darwin-x64' #45

Closed OceanHorn closed 6 years ago

OceanHorn commented 7 years ago

Error occors when integrate realm to a react native app with version 2.0.2. And there is no folder named 'binding-v3.0.1-node-v57-darwin-x64' existed in folder 'lzma-native'.

{ Error: Cannot find module '/Users/username/ReactNative/folder/Native/node_modules/lzma-native/binding-v3.0.1-node-v57-darwin-x64/lzma_native.node' at Function.Module._resolveFilename (module.js:485:15) at Function.Module._load (module.js:437:25) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at /Users/username/ReactNative/folder/Native/node_modules/lzma-native/index.js:13:14 at Object. (/Users/username/ReactNative/folder/Native/node_modules/lzma-native/index.js:595:3) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) code: 'MODULE_NOT_FOUND' }

addaleax commented 7 years ago

What folders are there in lzma-native? Did npm install lzma-native succeed? Do you have any odd npm options like ignore-scripts activated?

esutton commented 7 years ago

Thank you for sharing your work!

@OceanHorn Are using react native realm?

Same error, cannot find binding-v3.0.1-node-v57-darwin-x64. I spent the afternoon trying to understand why my react native app would no longer build.

yarn installed the other /node_modules/lzma-native/binding-* files, however, the darwin version-x64 version was missing.

yarn complains about some certificate error. npm install works fine

I suspect yarn may be more security paranoid when it sees the certificate error. Or it is a yarn bug.

I just tried it again using yarn and can no longer reproduce.

Somebody spoofing a npm server?

Expired certificate had been replaced?

I do not know....

yarn --version
1.3.2

This was the original yarn install error complaining about a http certificate has expired :

yarn
yarn install v1.2.1
[1/4] πŸ”  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] πŸ”—  Linking dependencies...
warning "react-native-firebase@3.0.0-alpha.3" has unmet peer dependency "fbjs@*".
warning "react-test-renderer@16.0.0" has incorrect peer dependency "react@^16.0.0-beta.5".
[4/4] πŸ“ƒ  Building fresh packages...
[-/8] ⠁ waiting...
[2/8] ⠁ lzma-native: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
[-/8] ⠁ waiting...
[4/8] ⠁ fsevents: node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
error /Users/edward3/Documents/projects/react-native/a-test/source/node_modules/lzma-native: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build && node node_modules/rimraf/bin.js build
Arguments: 
Directory: /Users/edward3/Documents/projects/react-native/a-test/source/node_modules/lzma-native
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.36
node-pre-gyp info using node@8.7.0 | darwin | x64
node-pre-gyp info check checked for "/Users/edward3/Documents/projects/react-native/a-test/source/node_modules/lzma-native/binding-v3.0.1-node-v57-darwin-x64/lzma_native.node" (not found)
node-pre-gyp http GET https://node-pre-gyp.entless.org/lzma-native/lzma_native-v3.0.1-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://node-pre-gyp.entless.org/lzma-native/lzma_native-v3.0.1-node-v57-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for lzma-native@3.0.1 and node@8.7.0 (node-v57 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http certificate has expired 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/edward3/Documents/projects/react-native/a-test/source/node_modules/lzma-native/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack     at emitOne (events.js:115:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:210:7)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
node-pre-gyp ERR! stack     at onErrorNT (internal/child_process.js:374:16)
node-pre-gyp ERR! stack     at _combinedTickCallback (internal/process/next_tick.js:138:11)
node-pre-gyp ERR! stack     at process._tickCallback (internal/process/next_tick.js:180:9)
node-pre-gyp ERR! System Darwin 16.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/8.7.0/bin/node" "/Users/edward3/Documents/projects/react-native/a-test/source/node_modules/lzma-native/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/edward3/Documents/projects/react-native/a-test/source/node_modules/lzma-native
node-pre-gyp ERR! node -v v8.7.0
addaleax commented 7 years ago

Expired certificate had been replaced?

Yes, see #46 – I updated the cert but forgot to make the webserver reload its config. It’s a silly mistake on my end, but has been resolved now & shouldn’t happen again. :)

esutton commented 7 years ago

@addaleax Thank you for sharing your work.

I think I will stick with yarn since it gives me a message "http certificate has expired" while npm did not.

addaleax commented 7 years ago

@esutton To be clear, the download of the pre-built binary happens using node-pre-gyp, not in the package manager itself – I really can’t tell why npm vs yarn would make a difference here. It might just be that by the time you tried npm I had already fixed it? Anyway, go with whichever you prefer. :)

esutton commented 7 years ago

@addaleax That is true. It might just have been timing. Good point.

I will stick with yarn since react-native uses it.

I should create my own node.js package to learn more about how the things I use everyday actually work! :)

OceanHorn commented 7 years ago

@addaleax just npm install. Files in folder lzma-native list below:

CHANGELOG.md
LICENSE
README.md
bin
binding-v1.5.3-node-v53-linux-x64
binding-v2.0.0-node-v53-linux-x64
binding-v2.0.1-node-v55-linux-x64
binding-v2.0.2-node-v55-linux-x64
binding-v2.0.3-node-v56-linux-x64
binding-v2.0.4-electron-v1.7-linux-x64
binding-v2.0.4-node-v48-linux-x64
binding-v2.0.4-node-v56-linux-x64
binding-v3.0.0-electron-v1.7-linux-x64
binding-v3.0.0-node-v56-linux-x64
binding-v3.0.1-node-v51-darwin-x64
binding-v3.0.1-node-v56-linux-x64
binding.gyp
cflags.sh
deps
index.js
liblzma-build.sh
liblzma-config.sh
node_modules
package.json
src
addaleax commented 7 years ago

Would still be nice to have an answer at least to β€œDid npm install lzma-native succeed?” … it looks like you might just have forgotten to rebuild after upgrading Node?

OceanHorn commented 7 years ago

@addaleax I tried to remove lzma-native and re-install by npm install --save lzma-native, logs like below:

> lzma-native@3.0.2 install /Users/OceanHorn/SourceTree/mmms/node_modules/lzma-native
> node-pre-gyp install --fallback-to-build && node node_modules/rimraf/bin.js build

[lzma-native] Success: "/Users/OceanHorn/SourceTree/mmms/node_modules/lzma-native/binding-v3.0.2-node-v51-darwin-x64/lzma_native.node" is installed via remote
mmms@0.0.1 /Users/OceanHorn/SourceTree/mmms
β”œβ”€β”€ UNMET PEER DEPENDENCY babel-eslint@8.0.2
β”œβ”€β”€ UNMET PEER DEPENDENCY eslint-plugin-jest@^21.0.0
β”œβ”€β”€ UNMET PEER DEPENDENCY eslint-plugin-jsx-a11y@^6.0.2
β”œβ”€β”€ UNMET PEER DEPENDENCY eslint-plugin-relay@0.0.8
β”œβ”€β”¬ lzma-native@3.0.2 
β”‚ β”œβ”€β”€ nan@2.5.1 
β”‚ β”œβ”€β”¬ node-pre-gyp@0.6.39 
β”‚ β”‚ β”œβ”€β”€ detect-libc@1.0.2 
β”‚ β”‚ β”œβ”€β”¬ hawk@3.1.3 
β”‚ β”‚ β”‚ β”œβ”€β”€ boom@2.10.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ cryptiles@2.0.5 
β”‚ β”‚ β”‚ β”œβ”€β”€ hoek@2.16.3 
β”‚ β”‚ β”‚ └── sntp@1.0.9 
β”‚ β”‚ β”œβ”€β”¬ mkdirp@0.5.1 
β”‚ β”‚ β”‚ └── minimist@0.0.8 
β”‚ β”‚ β”œβ”€β”¬ nopt@4.0.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ abbrev@1.1.1 
β”‚ β”‚ β”‚ └─┬ osenv@0.1.4 
β”‚ β”‚ β”‚   β”œβ”€β”€ os-homedir@1.0.2 
β”‚ β”‚ β”‚   └── os-tmpdir@1.0.2 
β”‚ β”‚ β”œβ”€β”¬ npmlog@4.1.2 
β”‚ β”‚ β”‚ β”œβ”€β”¬ are-we-there-yet@1.1.4 
β”‚ β”‚ β”‚ β”‚ └── delegates@1.0.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ console-control-strings@1.1.0 
β”‚ β”‚ β”‚ β”œβ”€β”¬ gauge@2.7.4 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ aproba@1.2.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ has-unicode@2.0.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ object-assign@4.1.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ signal-exit@3.0.2 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ string-width@1.0.2 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ code-point-at@1.1.0 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ is-fullwidth-code-point@1.0.0 
β”‚ β”‚ β”‚ β”‚ β”‚   └── number-is-nan@1.0.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ strip-ansi@3.0.1 
β”‚ β”‚ β”‚ β”‚ β”‚ └── ansi-regex@2.1.1 
β”‚ β”‚ β”‚ β”‚ └── wide-align@1.1.2 
β”‚ β”‚ β”‚ └── set-blocking@2.0.0 
β”‚ β”‚ β”œβ”€β”¬ rc@1.2.2 
β”‚ β”‚ β”‚ β”œβ”€β”€ deep-extend@0.4.2 
β”‚ β”‚ β”‚ β”œβ”€β”€ ini@1.3.4 
β”‚ β”‚ β”‚ β”œβ”€β”€ minimist@1.2.0 
β”‚ β”‚ β”‚ └── strip-json-comments@2.0.1 
β”‚ β”‚ β”œβ”€β”¬ request@2.81.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ aws-sign2@0.6.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ aws4@1.6.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ caseless@0.12.0 
β”‚ β”‚ β”‚ β”œβ”€β”¬ combined-stream@1.0.5 
β”‚ β”‚ β”‚ β”‚ └── delayed-stream@1.0.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ extend@3.0.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ forever-agent@0.6.1 
β”‚ β”‚ β”‚ β”œβ”€β”¬ form-data@2.1.4 
β”‚ β”‚ β”‚ β”‚ └── asynckit@0.4.0 
β”‚ β”‚ β”‚ β”œβ”€β”¬ har-validator@4.2.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ ajv@4.11.8 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ co@4.6.0 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ json-stable-stringify@1.0.1 
β”‚ β”‚ β”‚ β”‚ β”‚   └── jsonify@0.0.0 
β”‚ β”‚ β”‚ β”‚ └── har-schema@1.0.5 
β”‚ β”‚ β”‚ β”œβ”€β”¬ http-signature@1.1.1 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ assert-plus@0.2.0 
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”¬ jsprim@1.4.1 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ assert-plus@1.0.0 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ extsprintf@1.3.0 
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ json-schema@0.2.3 
β”‚ β”‚ β”‚ β”‚ β”‚ └─┬ verror@1.10.0 
β”‚ β”‚ β”‚ β”‚ β”‚   └── assert-plus@1.0.0 
β”‚ β”‚ β”‚ β”‚ └─┬ sshpk@1.13.1 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ asn1@0.2.3 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ assert-plus@1.0.0 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ bcrypt-pbkdf@1.0.1 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”¬ dashdash@1.14.1 
β”‚ β”‚ β”‚ β”‚   β”‚ └── assert-plus@1.0.0 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ ecc-jsbn@0.1.1 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”¬ getpass@0.1.7 
β”‚ β”‚ β”‚ β”‚   β”‚ └── assert-plus@1.0.0 
β”‚ β”‚ β”‚ β”‚   β”œβ”€β”€ jsbn@0.1.1 
β”‚ β”‚ β”‚ β”‚   └── tweetnacl@0.14.5 
β”‚ β”‚ β”‚ β”œβ”€β”€ is-typedarray@1.0.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ isstream@0.1.2 
β”‚ β”‚ β”‚ β”œβ”€β”€ json-stringify-safe@5.0.1 
β”‚ β”‚ β”‚ β”œβ”€β”¬ mime-types@2.1.17 
β”‚ β”‚ β”‚ β”‚ └── mime-db@1.30.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ oauth-sign@0.8.2 
β”‚ β”‚ β”‚ β”œβ”€β”€ performance-now@0.2.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ qs@6.4.0 
β”‚ β”‚ β”‚ β”œβ”€β”€ stringstream@0.0.5 
β”‚ β”‚ β”‚ β”œβ”€β”¬ tough-cookie@2.3.3 
β”‚ β”‚ β”‚ β”‚ └── punycode@1.4.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ tunnel-agent@0.6.0 
β”‚ β”‚ β”‚ └── uuid@3.1.0 
β”‚ β”‚ β”œβ”€β”€ semver@5.4.1 
β”‚ β”‚ β”œβ”€β”¬ tar@2.2.1 
β”‚ β”‚ β”‚ β”œβ”€β”€ block-stream@0.0.9 
β”‚ β”‚ β”‚ └─┬ fstream@1.0.11 
β”‚ β”‚ β”‚   └── graceful-fs@4.1.11 
β”‚ β”‚ └─┬ tar-pack@3.4.1 
β”‚ β”‚   β”œβ”€β”¬ debug@2.6.9 
β”‚ β”‚   β”‚ └── ms@2.0.0 
β”‚ β”‚   β”œβ”€β”€ fstream-ignore@1.0.5 
β”‚ β”‚   β”œβ”€β”¬ once@1.4.0 
β”‚ β”‚   β”‚ └── wrappy@1.0.2 
β”‚ β”‚   └── uid-number@0.0.6 
β”‚ β”œβ”€β”¬ readable-stream@2.3.3 
β”‚ β”‚ β”œβ”€β”€ core-util-is@1.0.2 
β”‚ β”‚ β”œβ”€β”€ inherits@2.0.3 
β”‚ β”‚ β”œβ”€β”€ isarray@1.0.0 
β”‚ β”‚ β”œβ”€β”€ process-nextick-args@1.0.7 
β”‚ β”‚ β”œβ”€β”€ safe-buffer@5.1.1 
β”‚ β”‚ β”œβ”€β”€ string_decoder@1.0.3 
β”‚ β”‚ └── util-deprecate@1.0.2 
β”‚ └─┬ rimraf@2.6.2 
β”‚   └─┬ glob@7.1.2 
β”‚     β”œβ”€β”€ fs.realpath@1.0.0 
β”‚     β”œβ”€β”€ inflight@1.0.6 
β”‚     β”œβ”€β”¬ minimatch@3.0.4 
β”‚     β”‚ └─┬ brace-expansion@1.1.8 
β”‚     β”‚   β”œβ”€β”€ balanced-match@1.0.0 
β”‚     β”‚   └── concat-map@0.0.1 
β”‚     └── path-is-absolute@1.0.1 
β”œβ”€β”€ UNMET PEER DEPENDENCY react@16.0.0-alpha.12
└── UNMET PEER DEPENDENCY react-native-elements@0.17.0

......

And the files in folder ./node_modules/lzma-native list below:

CHANGELOG.md
LICENSE
README.md
README.md.xz
bin
binding-v3.0.1-node-v58-linux-x64
binding-v3.0.1-node-v59-linux-x64
binding-v3.0.2-node-v51-darwin-x64
binding.gyp
cflags.sh
deps
index.js
liblzma-build.sh
liblzma-config.sh
node_modules
package.json
src

I meet some network error in downloading realm-sync-cocoa-2.1.1.tar.xz now. I will give you more information later. Thanks a lot!

esutton commented 6 years ago

I too am using realm and saw an error regarding network error regarding realm-sync-cocoa-2.1.1.tar.xz

aalkhulaifi605 commented 6 years ago

is https://node-pre-gyp.entless.org/lzma-native/lzma_native-v3.0.1-node-v57-win32-x64.tar.gz Down or something ?

npm install used to work fine before and today I am getting this

node-pre-gyp ERR! Tried to download(undefined): https://node-pre-gyp.entless.org/lzma-native/lzma_native-v3.0.1-node-v57-win32-x64.tar.gz

I checked the link and it's dead . Is anyone else having the same issue ?

EDIT :

Now the domain is Up and it works perfectly . ( npm install in my project directory now works ) .

esutton commented 6 years ago

Today I have had this problem off an on again. I git clone, then yarn and all is good. Then an hour later bad, then good, then bad....

I am using the realm package which may indirectly depends on lzma-native

Work-around is to use npm install after git clone.

stack Error: Failed to execute 'node-gyp clean

edwards-mbp:source edward3$ yarn
yarn install v1.3.2
[1/4] πŸ”  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] πŸ”—  Linking dependencies...
warning " > react-native-firebase@3.0.0-alpha.3" has unmet peer dependency "fbjs@*".
warning " > react-test-renderer@16.0.0" has incorrect peer dependency "react@^16.0.0-beta.5".
[4/4] πŸ“ƒ  Building fresh packages...
[-/8] ⠈ waiting...
[2/8] ⠈ lzma-native: http GET https://node-pre-gyp.entless.org/lzma-nativ
[-/8] ⠈ waiting...
[4/8] ⠈ fsevents: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1
warning Error running install script for optional dependency: "/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents: Command failed.\nExit code: 1\nCommand: node install\nArguments: \nDirectory: /Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents\nOutput:\nnode-pre-gyp info it worked if it ends with ok\nnode-pre-gyp info using node-pre-gyp@0.6.36\nnode-pre-gyp info using node@8.9.0 | darwin | x64\nnode-pre-gyp info check checked for \"/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node\" (not found)\nnode-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz\nnode-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz\nnode-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz \nnode-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and node@8.9.0 (node-v57 ABI) (falling back to source compile with node-gyp) \nnode-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz \nnode-pre-gyp ERR! build error \nnode-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/node-pre-gyp/lib/util/compile.js:77:29)\nnode-pre-gyp ERR! stack     at emitOne (events.js:116:13)\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:211:7)\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:196:12)\nnode-pre-gyp ERR! stack     at onErrorNT (internal/child_process.js:372:16)\nnode-pre-gyp ERR! stack     at _combinedTickCallback (internal/process/next_tick.js:138:11)\nnode-pre-gyp ERR! stack     at process._tickCallback (internal/process/next_tick.js:180:9)\nnode-pre-gyp ERR! System Darwin 16.7.0\nnode-pre-gyp ERR! command \"/usr/local/Cellar/node/8.9.0/bin/node\" \"/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\nnode-pre-gyp ERR! cwd /Users/edward3/Documents/p$ 
addaleax commented 6 years ago

@esutton I’m not sure but it sounds like that is not an issue with the lzma-native part? The last line of that message reads:

warning Error running install script for optional dependency: "/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments: 
Directory: /Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.36
node-pre-gyp info using node@8.9.0 | darwin | x64
node-pre-gyp info check checked for \"/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and node@8.9.0 (node-v57 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack     at emitOne (events.js:116:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:211:7)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:196:12)
node-pre-gyp ERR! stack     at onErrorNT (internal/child_process.js:372:16)
node-pre-gyp ERR! stack     at _combinedTickCallback (internal/process/next_tick.js:138:11)
node-pre-gyp ERR! stack     at process._tickCallback (internal/process/next_tick.js:180:9)
node-pre-gyp ERR! System Darwin 16.7.0
node-pre-gyp ERR! command \"/usr/local/Cellar/node/8.9.0/bin/node\" \"/Users/edward3/Documents/projects/react-native/field-scout/source/node_modules/fsevents/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/edward3/Documents/p$ echo hello from yarn postinstall && scripts/npm-post-install.sh

I think all of that is coming from fsevents…

esutton commented 6 years ago

@addaleax I expect you are right. Thanks for looking at it.