rust-parcel-template icon indicating copy to clipboard operation
rust-parcel-template copied to clipboard

installation hangs with node v12.3.1 (need to upgrade fsevents)

Open ultrasaurus opened this issue 6 years ago • 2 comments

Describe the Bug

installation hangs with node v12.3.1

Steps to Reproduce

Precondition:

$ node --version
v12.3.1
  1. npm init rust-parcel myapp
npx: installed 1 in 0.998s
🦀Rust + 🕸 WebAssembly + 📦Parcel = ❤️

note: command hangs (need to Ctrl-C to stop) 2. cd myapp 3. npm install

> [email protected] install /..../myapp/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v72-darwin-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error Connection closed while downloading tarball file 
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(persistent().IsNearDeath());
           ~~~~~~~~~~~~ ^

Workaround

cd myapp
npm install fsevents

ultrasaurus avatar Jun 03 '19 14:06 ultrasaurus

for context, see: https://github.com/fsevents/fsevents/pull/274

ultrasaurus avatar Jun 03 '19 14:06 ultrasaurus

I think this should happen in the plugin. pinging @catsigma

sendilkumarn avatar Jul 06 '19 12:07 sendilkumarn