Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node 10: Lots of warnings and errors upon install #229

Closed
JakeSidSmith opened this issue Jul 19, 2018 · 22 comments
Closed

Node 10: Lots of warnings and errors upon install #229

JakeSidSmith opened this issue Jul 19, 2018 · 22 comments

Comments

@JakeSidSmith
Copy link

Getting a bunch of warnings and errors when installing my dependencies with node 10.

Possibly related to:

nodejs/node-gyp#942
kelektiv/node.bcrypt.js#634

Node: 10.5.0
NPM: 6.1.0 / 6.2.0
NVM: 0.33.1 / 0.33.11

npm list fsevents:

[email protected] /Users/user/code/project
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └── [email protected]  deduped
├─┬ [email protected]
│ └── UNMET OPTIONAL DEPENDENCY [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected]  deduped
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └── [email protected]  deduped

Errors during npm install:

node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  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 In file included from ../fsevents.cc:85:
../fsevents.cc:85:
../src/methods.cc:14../src/methods.cc::1214::12 : warningwarning: : 'Call' is deprecated [-Wdeprecated-declarations]
  handler->Call(3, argv);
           ^
'Call' is deprecated [-Wdeprecated-declarations]
  handler->Call(3, argv);
           ^
../../../../nan/nan.h:1617:3:../../../../nan/nan.h :1617:note3: : 'Call' hasnote : been 'Call'explicitly  hasmarked  beendeprecated  explicitlyhere marked
 deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>  NAN_DEPRECATED inline v8::Local<v8::Value>

  ^  ^

../../../../nan/nan.h../../../../nan/nan.h::9898::4040::  notenote: : expandedexpanded  fromfrom  macromacro  'NAN_DEPRECATED''NAN_DEPRECATED'

# define NAN_DEPRECATED __attribute__((deprecated))# define NAN_DEPRECATED __attribute__((deprecated))

                                       ^                                       ^

1 warning generated.
1 warning generated.
rm: ./Release/.deps/Release/obj.target/fse/fsevents.o.d.raw: No such file or directory
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/user/.nvm/versions/node/v10.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 17.6.0
  SOLINK_MODULE(target) Release/fse.node
gyp ERR! command "/Users/user/.nvm/versions/node/v10.5.0/bin/node" "/Users/user/.nvm/versions/node/v10.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp ERR! cwd /Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents
gyp ERR! node -v v10.5.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/user/.nvm/versions/node/v10.5.0/bin/node /Users/user/.nvm/versions/node/v10.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
node-pre-gyp ERR! System Darwin 17.6.0
node-pre-gyp ERR! command "/Users/user/.nvm/versions/node/v10.5.0/bin/node" "/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents
node-pre-gyp ERR! node -v v10.5.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/Users/user/.nvm/versions/node/v10.5.0/bin/node /Users/user/.nvm/versions/node/v10.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
  COPY /Users/user/code/project/node_modules/react-scripts-ts/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
@anilnamde
Copy link

Facing the same issue Node 10.7 too

@elarbee
Copy link

elarbee commented Jul 20, 2018

Same issue. Same Node version (10.7.0). On Mac High Sierra.

I seem to have fixed this by uninstalling and reinstalling npm.

I used the "More Severe Uninstalling" section of this guide.

https://docs.npmjs.com/misc/removing-npm

@eyexx
Copy link

eyexx commented Jul 22, 2018

I face this issue too.....

@nextdooroldwang
Copy link

nextdooroldwang commented Jul 23, 2018

xcode->product->clean

@Vages
Copy link

Vages commented Jul 30, 2018

Sadly, @elarbee's suggestion did not work for me (on MacOS High Sierra with Node 10.7). I have also tried running yarn cache clean (which I guess is the equivalent of @nextdooroldwang's suggestion for my project).

@rwendell
Copy link

rwendell commented Aug 4, 2018

fixed by using older node version (LTS):
nvm install 8.11.3
nvm use 8.11.3
and installing node-gyp globally:
npm install -g node-gyp

@JakeSidSmith
Copy link
Author

In my case the errors were only caused by fsevents 1.1.2 which was a sub dependency of react-scripts-ts. After upgrading react-scripts-ts which requires fsevents 1.2.4 (the same as my other dependencies), all my errors and warnings went away.

I'd recommend anyone else running into this issue run npm ls fsevents to list which of their dependencies depend on fsevents, and from here you should be able to upgrade these dependencies (or open pull requests against those modules if they're still using an older version).

@Vages
Copy link

Vages commented Aug 16, 2018

Thanks for the tip about the version number, @JakeSidSmith! Because we use yarn in our project, we were able to solve this without explicitly upgrading any dependencies: We used yarn why ...

yarn why v1.9.4
[1/4] 🤔  Why do we have the module "fsevents"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "[email protected]"
info Has been hoisted to "fsevents"
info Reasons this module exists
   - Hoisted from "webpack#watchpack#chokidar#fsevents"
   - Hoisted from "@storybook#react#webpack#watchpack#chokidar#fsevents"
   - Hoisted from "@storybook#react#@storybook#core#webpack#watchpack#chokidar#fsevents"
info Disk size without dependencies: "5.5GB"
info Disk size with unique dependencies: "6.94GB"
info Disk size with transitive dependencies: "12.11GB"
info Number of shared dependencies: 79
=> Found "sane#[email protected]"
info This module exists because "jest#jest-cli#jest-haste-map#sane" depends on it.
info Disk size without dependencies: "5.48GB"
info Disk size with unique dependencies: "6.92GB"
info Disk size with transitive dependencies: "12.09GB"
info Number of shared dependencies: 79

... and updated the resolutions in our package.json:

{
  "resolutions": {
    "jest/jest-cli/jest-haste-map/sane": "1.2.4",
    "webpack/watchpack/chokidar/fsevents": "1.2.4"
  }
}

@emusgrave
Copy link

@Vages Thanks for the tip! Although I had to add /fsevents to the first resolution:

{
  "resolutions": {
    "jest/jest-cli/jest-haste-map/sane/fsevents": "1.2.4",
    "webpack/watchpack/chokidar/fsevents": "1.2.4"
  }
}

@davidjb
Copy link

davidjb commented Oct 3, 2018

In my case, it was because yarn.lock had fsevents at v1.1.3. My dependencies:

info Reasons this module exists
   - "nunjucks#chokidar" depends on it
   - Hoisted from "nunjucks#chokidar#fsevents"
   - Hoisted from "nodemon#chokidar#fsevents"
   - Hoisted from "jest#jest-cli#jest-haste-map#sane#fsevents"

only required fsevents of v1.x.x so removing just this entry in yarn.lock and re-running yarn to reinstall updated fsevents up to v1.2.4, resolving the install problem on Node v10.11.0. This fix resolved the same issue I was having on a second project too (same eventual dependencies of chokidar and sane).

So @Vages, you might be able to avoid having to specify resolutions.

@Vages
Copy link

Vages commented Oct 3, 2018

Hehe, yeah. I'd be comfortable doing that in a hobby project, but after some experiments in my early days of using yarn, I no longer feel comfortable manually editing yarn.lock (or going against the documentation in other ways) in code that I deliver to a client -- lest some dependency starts behaving in unforeseen ways. I'm sure a better or more daring programmer than I would be able to do this and sleep at night. 🙂

@neara
Copy link

neara commented Oct 28, 2018

Faced same issue, following @rwendell's comment, downgraded to node version 8.11.3 and everything started working normally.

@pipobscure
Copy link
Contributor

Is this stil an issue?

@JakeSidSmith
Copy link
Author

@pipobscure it is not an issue in 1.2.4 (and possibly higher).

@byustephen
Copy link

byustephen commented Mar 20, 2019

I found out that the node_modules directory was installed as a different user and group on my Mac. I just ran a CHOWN command to make it match the rest of the files in my directory:

sudo chown myusername:mygroupname node_modules/

And the rest of the install worked like a charm. Actually, it errored out again when running as sudo, but running it WITHOUT sudo worked great. Also, you can always try running the --no-optional flag when running node install, but that still didn't work for me.

(for the record, I got the issue when it came to install fsevents but it is likely that the cause for each failure are very similar).

@pipobscure
Copy link
Contributor

You should never install using sudo. You’re creating potential security holes doing that.

But if I understand you correctly, when just installing without sudo everything is fine?

@byustephen
Copy link

After setting the proper owner for the directory it worked fine for me. But that was my issue relating to fsevents . Yet from all my research people have had luck with either using nvm and downgrading back to NPM 8, or by running npm install --no-optional, or setting the proper directory owner:group on the directory.

Honestly, I don't know what will fix it for you, but the above list gives you some options to try.

@pipobscure
Copy link
Contributor

LoL @byusyephen I’m the author and was just trying to make sure you figured it out and there wasn’t an actual current issue that i’d need to fix😀

@byustephen
Copy link

Glad you are checking in. It's a good sign that you are accountable and proactive.

@helsont
Copy link

helsont commented Jun 7, 2019

I'm still experiencing this issue. The only thing that "works" is reverting back to node v8. However, I'd like to take advantage of the improved async stack traces that node v12 offers. Here's my stack trace on running npm install:

➜  nabis-backend git:(organization-types) ✗ npm install --verbose
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/node',
npm verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session 8815aeeaaac2a4a1
npm info lifecycle [email protected]~preinstall: [email protected]
npm timing stage:loadCurrentTree Completed in 1493ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 8ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 607ms
npm http fetch GET 200 https://registry.npmjs.org/chai-as-promised 29ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/colors 29ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/graphql-tools 29ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/sinon-chai 30ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/dotenv 32ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/apollo-link 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/deprecated-decorator 7ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/apollo-utilities 9ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/zen-observable-ts 9ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ts-invariant 11ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tslib 12ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/@wry%2fequality 10ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ts-invariant 12ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/zen-observable 4ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 868ms
npm timing stage:loadIdealTree Completed in 1708ms
npm timing stage:generateActionsToTake Completed in 79ms
npm verb correctMkdir /Users/helson/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /Users/helson/.npm/_locks/staging-b526998acd4333d8.lock for /Users/helson/Development/nabis/nabis-backend/node_modules/.staging
npm timing audit submit Completed in 676ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 677ms
npm timing audit body Completed in 1ms
npm timing action:extract Completed in 1003ms
npm timing action:finalize Completed in 146ms
npm timing action:refresh-package-json Completed in 232ms
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm info lifecycle [email protected]~preinstall: [email protected]
npm timing action:preinstall Completed in 29ms
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { 'detect-libc': './bin/detect-libc.js' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { mkdirp: 'bin/cmd.js' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { nopt: './bin/nopt.js' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { needle: './bin/needle' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { semver: './bin/semver' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { rc: './cli.js' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { rimraf: './bin.js' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins   { 'node-pre-gyp': './bin/node-pre-gyp' },
npm verb linkBins   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm timing action:build Completed in 67ms
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]
npm info lifecycle [email protected]~install: [email protected]

> [email protected] install /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents
> node install

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [
node-pre-gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/node',
node-pre-gyp verb cli   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build'
node-pre-gyp verb cli ]
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp verb command install []
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-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 http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/node',
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'clean'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command clean []
gyp verb clean removing "build" directory
gyp info ok
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/node',
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'configure',
gyp verb cli   '--fallback-to-build',
gyp verb cli   '--module=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node',
gyp verb cli   '--module_name=fse',
gyp verb cli   '--module_path=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64',
gyp verb cli   '--napi_version=4',
gyp verb cli   '--node_abi_napi=napi',
gyp verb cli   '--napi_build_version=0',
gyp verb cli   '--node_napi_label=node-v72'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/local/bin/python2
gyp verb check python version `/usr/local/bin/python2 -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 12.4.0
gyp verb command install [ '12.4.0' ]
gyp verb install input version string "12.4.0"
gyp verb install installing version: 12.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.4.0
gyp verb build dir attempting to create "build" dir: /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/build
gyp verb build dir "build" dir needed to be created? /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/config.gypi
gyp verb common.gypi checking for gypi file: /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/local/bin/python2
gyp info spawn args [
gyp info spawn args   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/helson/.node-gyp/12.4.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/helson/.node-gyp/12.4.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/helson/.node-gyp/12.4.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/node',
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'build',
gyp verb cli   '--fallback-to-build',
gyp verb cli   '--module=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node',
gyp verb cli   '--module_name=fse',
gyp verb cli   '--module_path=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64',
gyp verb cli   '--napi_version=4',
gyp verb cli   '--node_abi_napi=napi',
gyp verb cli   '--napi_build_version=0',
gyp verb cli   '--node_napi_label=node-v72'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/helson/.node-gyp/12.4.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
  c++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=10.10 -arch x86_64 -L./Release -stdlib=libc++  -o Release/.node
  c++ '-DNODE_GYP_MODULE_NAME=fse' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/Users/helson/.node-gyp/12.4.0/include/node -I/Users/helson/.node-gyp/12.4.0/src -I/Users/helson/.node-gyp/12.4.0/deps/openssl/config -I/Users/helson/.node-gyp/12.4.0/deps/openssl/openssl/include -I/Users/helson/.node-gyp/12.4.0/deps/uv/include -I/Users/helson/.node-gyp/12.4.0/deps/zlib -I/Users/helson/.node-gyp/12.4.0/deps/v8/include -I../node_modules/nan  -Os -gdwarf-2 -mmacosx-version-min=10.10 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/fse/fsevents.o.d.raw   -c -o Release/obj.target/fse/fsevents.o ../fsevents.cc
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
    static void Initialize(v8::Handle<v8::Object> exports);
                           ~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagNone").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagNone));
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMustScanSubDirs").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStre...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUserDropped").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEv...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagKernelDropped").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStream...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagEventIdsWrapped").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStre...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagHistoryDone").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEv...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagRootChanged").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEv...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagMount").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFla...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagUnmount").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventF...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemCreated").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEv...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRemoved").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEv...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemInodeMetaMod").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStr...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemRenamed").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEv...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:102:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemModified").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamE...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:103:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemFinderInfoMod").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventSt...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:104:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemChangeOwner").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStre...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:105:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemXattrMod").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamE...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:106:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsFile").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEve...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:107:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsDir").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEven...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../fsevents.cc:73:
../src/constants.cc:108:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
  object->Set(Nan::New<v8::String>("kFSEventStreamEventFlagItemIsSymlink").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStream...
          ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3358:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../fsevents.cc:76:16: error: variable has incomplete type 'void'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
               ^
../fsevents.cc:76:31: error: no member named 'Handle' in namespace 'v8'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                          ~~~~^
../fsevents.cc:76:48: error: expected '(' for function-style cast or type construction
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                     ~~~~~~~~~~^
../fsevents.cc:76:50: error: use of undeclared identifier 'exports'
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                 ^
../fsevents.cc:76:58: error: expected ';' after top level declarator
void FSEvents::Initialize(v8::Handle<v8::Object> exports) {
                                                         ^
                                                         ;
20 warnings and 6 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/helson/.nvm/versions/node/v12.4.0/bin/node" "/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/helson/.nvm/versions/node/v12.4.0/bin/node /Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/Users/helson/.nvm/versions/node/v12.4.0/bin/node" "/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents
node-pre-gyp ERR! node -v v12.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok
Failed to execute '/Users/helson/.nvm/versions/node/v12.4.0/bin/node /Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node --module_name=fse --module_path=/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm verb lifecycle [email protected]~install: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~install: PATH: /Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/helson/Development/nabis/nabis-backend/node_modules/fsevents/node_modules/.bin:/Users/helson/Development/nabis/nabis-backend/node_modules/.bin:/Users/helson/.nvm/versions/node/v12.4.0/bin:/Users/helson/.nvm/versions/node/v12.4.0/bin:/Users/helson/torch/install/bin:/usr/local/git/bin:/Users/helson/.nvm/versions/node/v8.0.0/bin:/Users/helson/torch/install/bin:/usr/local/git/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/helson/.nvm/versions/node/v8.0.0/bin
npm verb lifecycle [email protected]~install: CWD: /Users/helson/Development/nabis/nabis-backend/node_modules/fsevents
npm info lifecycle [email protected]~install: Failed to exec install script
npm info lifecycle [email protected]~install: [email protected]

> [email protected] install /Users/helson/Development/nabis/nabis-backend/node_modules/iconv
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/bin/node',
gyp verb cli   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/local/bin/python2
gyp verb check python version `/usr/local/bin/python2 -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 12.4.0
gyp verb command install [ '12.4.0' ]
gyp verb install input version string "12.4.0"
gyp verb install installing version: 12.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.4.0
gyp verb build dir attempting to create "build" dir: /Users/helson/Development/nabis/nabis-backend/node_modules/iconv/build
gyp verb build dir "build" dir needed to be created? /Users/helson/Development/nabis/nabis-backend/node_modules/iconv/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/helson/Development/nabis/nabis-backend/node_modules/iconv/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/helson/Development/nabis/nabis-backend/node_modules/iconv/config.gypi
gyp verb common.gypi checking for gypi file: /Users/helson/Development/nabis/nabis-backend/node_modules/iconv/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/local/bin/python2
gyp info spawn args [
gyp info spawn args   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/helson/Development/nabis/nabis-backend/node_modules/iconv/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/helson/.node-gyp/12.4.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/helson/.node-gyp/12.4.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/helson/.node-gyp/12.4.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/helson/Development/nabis/nabis-backend/node_modules/iconv',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/helson/.node-gyp/12.4.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
  c++ '-DNODE_GYP_MODULE_NAME=iconv' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_THREADS' '-DICONV_CONST=const' '-DENABLE_EXTRA=1' '-DBUILDING_NODE_EXTENSION' -I/Users/helson/.node-gyp/12.4.0/include/node -I/Users/helson/.node-gyp/12.4.0/src -I/Users/helson/.node-gyp/12.4.0/deps/openssl/config -I/Users/helson/.node-gyp/12.4.0/deps/openssl/openssl/include -I/Users/helson/.node-gyp/12.4.0/deps/uv/include -I/Users/helson/.node-gyp/12.4.0/deps/zlib -I/Users/helson/.node-gyp/12.4.0/deps/v8/include -I../../nan -I../support  -Os -gdwarf-2 -mmacosx-version-min=10.10 -arch x86_64 -Wendif-labels -Wno-unused-parameter -Wno-unused-parameter -Wno-parentheses-equality -Wno-static-in-inline -Wno-tautological-compare -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/iconv/src/binding.o.d.raw   -c -o Release/obj.target/iconv/src/binding.o ../src/binding.cc
In file included from ../src/binding.cc:18:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version.
      [-Wdeprecated-declarations]
X(Boolean)
^
../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
      val->To ## TYPE(isolate->GetCurrentContext())                            \
           ^
<scratch space>:201:1: note: expanded from here
ToBoolean
^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2523:3: note: 'ToBoolean' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("ToBoolean can never throw. Use Local version.",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/binding.cc:18:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version.
      [-Wdeprecated-declarations]
X(bool, Boolean)
^
../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
  return val->NAME ## Value(isolate->GetCurrentContext());                     \
              ^
<scratch space>:208:1: note: expanded from here
BooleanValue
^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2561:3: note: 'BooleanValue' has been explicitly marked deprecated here
  V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
In file included from ../src/binding.cc:18:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
  return v8::StringObject::New(value).As<v8::StringObject>();
         ~~~~~~~~~~~~~~~~~~~~~      ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:5380:3: note: 'New' declared here
  static Local<Value> New(Isolate* isolate, Local<String> value);
  ^
In file included from ../src/binding.cc:18:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:58: error: expected '(' for function-style cast or type construction
  return v8::StringObject::New(value).As<v8::StringObject>();
                                         ~~~~~~~~~~~~~~~~^
../../nan/nan_implementation_12_inl.h:356:60: error: expected expression
  return v8::StringObject::New(value).As<v8::StringObject>();
                                                           ^
In file included from ../src/binding.cc:18:
In file included from ../../nan/nan.h:2706:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object,
      v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(persistent().IsNearDeath());
           ~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
      expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
In file included from ../src/binding.cc:18:
In file included from ../../nan/nan.h:2706:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object,
      v8::NonCopyablePersistentTraits<v8::Object> >'
    assert(wrap->handle_.IsNearDeath());
           ~~~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note:
      expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
../src/binding.cc:35:11: error: no member named 'Handle' in namespace 'v8'
using v8::Handle;
      ~~~~^
../src/binding.cc:65:26: error: no template named 'Handle'
  static void Initialize(Handle<Object> obj)
                         ^
../src/binding.cc:71:60: error: too few arguments to function call, single argument 'context' was not specified
             Nan::New<FunctionTemplate>(Make)->GetFunction());
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:5947:3: note: 'GetFunction' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:73:63: error: too few arguments to function call, single argument 'context' was not specified
             Nan::New<FunctionTemplate>(Convert)->GetFunction());
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:5947:3: note: 'GetFunction' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:84:23: error: no matching constructor for initialization of 'String::Utf8Value'
    String::Utf8Value from_encoding(info[0]);
                      ^             ~~~~~~~
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3002:5: note: candidate constructor not viable: no known conversion from
      'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
    Utf8Value(const Utf8Value&) = delete;
    ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2995:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    Utf8Value(Isolate* isolate, Local<v8::Value> obj);
    ^
../src/binding.cc:85:23: error: no matching constructor for initialization of 'String::Utf8Value'
    String::Utf8Value to_encoding(info[1]);
                      ^           ~~~~~~~
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3002:5: note: candidate constructor not viable: no known conversion from
      'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
    Utf8Value(const Utf8Value&) = delete;
    ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2995:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    Utf8Value(Isolate* isolate, Local<v8::Value> obj);
    ^
../src/binding.cc:92:64: error: too few arguments to function call, single argument 'context' was not specified
        Nan::New<ObjectTemplate>(object_template)->NewInstance();
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:6244:3: note: 'NewInstance' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(Local<Context> context);
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:103:36: error: no matching member function for call to 'BooleanValue'
    const bool is_flush = info[8]->BooleanValue();
                          ~~~~~~~~~^~~~~~~~~~~~
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2559:8: note: candidate function not viable: requires single argument 'isolate', but no
      arguments were provided
  bool BooleanValue(Isolate* isolate) const;
       ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2562:51: note: candidate function not viable: requires single argument 'context', but no
      arguments were provided
                V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                  ^
../src/binding.cc:106:47: error: too few arguments to function call, single argument 'context' was not specified
    size_t input_start = info[2]->Uint32Value();
                         ~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:107:46: error: too few arguments to function call, single argument 'context' was not specified
    size_t input_size = info[3]->Uint32Value();
                        ~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:109:48: error: too few arguments to function call, single argument 'context' was not specified
    size_t output_start = info[5]->Uint32Value();
                          ~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:110:47: error: too few arguments to function call, single argument 'context' was not specified
    size_t output_size = info[6]->Uint32Value();
                         ~~~~~~~~~~~~~~~~~~~~ ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:2567:3: note: 'Uint32Value' declared here
  V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:347:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
../src/binding.cc:127:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
    rc->Set(0, Nan::New<Integer>(static_cast<uint32_t>(input_consumed)));
        ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3367:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
../src/binding.cc:128:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
    rc->Set(1, Nan::New<Integer>(static_cast<uint32_t>(output_consumed)));
        ^
/Users/helson/.node-gyp/12.4.0/include/node/v8.h:3367:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use maybe version",
  ^
/Users/helson/.node-gyp/12.4.0/include/node/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON'
  declarator __attribute__((deprecated(message)))
                            ^
4 warnings and 17 errors generated.
make: *** [Release/obj.target/iconv/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/helson/.nvm/versions/node/v12.4.0/bin/node" "/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/helson/Development/nabis/nabis-backend/node_modules/iconv
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm verb lifecycle [email protected]~install: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~install: PATH: /Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/helson/Development/nabis/nabis-backend/node_modules/iconv/node_modules/.bin:/Users/helson/Development/nabis/nabis-backend/node_modules/.bin:/Users/helson/.nvm/versions/node/v12.4.0/bin:/Users/helson/.nvm/versions/node/v12.4.0/bin:/Users/helson/torch/install/bin:/usr/local/git/bin:/Users/helson/.nvm/versions/node/v8.0.0/bin:/Users/helson/torch/install/bin:/usr/local/git/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/helson/.nvm/versions/node/v8.0.0/bin
npm verb lifecycle [email protected]~install: CWD: /Users/helson/Development/nabis/nabis-backend/node_modules/iconv
npm info lifecycle [email protected]~install: Failed to exec install script
npm timing action:install Completed in 5677ms
npm verb unlock done using /Users/helson/.npm/_locks/staging-b526998acd4333d8.lock for /Users/helson/Development/nabis/nabis-backend/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 342ms
npm timing stage:runTopLevelLifecycles Completed in 11037ms
npm WARN [email protected] requires a peer of eslint@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] - 14 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.13.0 || ^14.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN The package faker is included as both a dev and production dependency.
npm WARN The package mocha is included as both a dev and production dependency.
npm WARN The package express is included as both a dev and production dependency.
npm WARN The package graphql is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm verb optional SKIPPING OPTIONAL DEPENDENCY:
npm verb optional Failed at the [email protected] install script.
npm verb optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.

npm verb stack Error: [email protected] install: `node-gyp rebuild`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack     at EventEmitter.emit (events.js:200:13)
npm verb stack     at ChildProcess.<anonymous> (/Users/helson/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:200:13)
npm verb stack     at maybeClose (internal/child_process.js:1021:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
npm verb pkgid [email protected]
npm verb cwd /Users/helson/Development/nabis/nabis-backend
npm verb Darwin 18.2.0
npm verb argv "/Users/helson/.nvm/versions/node/v12.4.0/bin/node" "/Users/helson/.nvm/versions/node/v12.4.0/bin/npm" "install" "--verbose"
npm verb node v12.4.0
npm verb npm  v6.9.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 11976ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/helson/.npm/_logs/2019-06-07T07_31_13_790Z-debug.log

@pipobscure
Copy link
Contributor

Hi, your problem is entirely different.

Here are things to try:

  1. Have a look if you can update to 2.x (chokidar 3.x)
  2. If you can’t then at least make sure your package.json ‘s allow the newest version of the 1.2.x branh
  3. Make sure you are actually getting the newest version and that your package-lock.json isn’t pinning you to an older version (hint: do this one twice, you might get results)
  4. If you still have no joy then open a new issue. This one is closed and has such a generic title that it can pretty much match any description for an installation problem.

You can install the newest version of either v1.2.x or 2.x you just have to make sure you actually get the newest one.

If you are working with a new node version/release (such as you are with 12.4.0) there will never be prebuilt binaries. So you’ll have to then wait at least 1 month until the people maintaining this package have had a chance to release new binaries for v1.2.x.

for v2.x new binaries are never needed. So if you can update, that will eliminate your problem.

@AliSnowaroma
Copy link

I ran into this problem and found that it was caused by webpack not finding the configuration file
Details are as follows

ERROR in ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/unpack.js
Module not found: Error: Can't resolve 'fs' in '/Users/lwz/Desktop/qwork/resource-render/node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib'
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/unpack.js 6:11-24
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/index.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/package.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib sync ^./.$
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/_fsevents@1.2.9@fsevents/fsevents.js
@ ./node_modules/_chokidar@2.1.8@chokidar/lib/fsevents-handler.js
@ ./node_modules/_chokidar@2.1.8@chokidar/index.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js
@ (webpack)/lib/node/NodeWatchFileSystem.js
@ (webpack)/lib/node sync ^./.
$
@ (webpack)/lib/node/NodeMainTemplate.runtime.js
@ (webpack)/lib/node/NodeMainTemplatePlugin.js
@ (webpack)/lib/node/NodeTemplatePlugin.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/lib/compiler.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/index.js
@ ./config/webpack-dev-config.js

ERROR in ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/pack.js
Module not found: Error: Can't resolve 'fs' in '/Users/lwz/Desktop/qwork/resource-render/node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib'
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/pack.js 56:11-24
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/index.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/package.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib sync ^./.$
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/_fsevents@1.2.9@fsevents/fsevents.js
@ ./node_modules/_chokidar@2.1.8@chokidar/lib/fsevents-handler.js
@ ./node_modules/_chokidar@2.1.8@chokidar/index.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js
@ (webpack)/lib/node/NodeWatchFileSystem.js
@ (webpack)/lib/node sync ^./.
$
@ (webpack)/lib/node/NodeMainTemplate.runtime.js
@ (webpack)/lib/node/NodeMainTemplatePlugin.js
@ (webpack)/lib/node/NodeTemplatePlugin.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/lib/compiler.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/index.js
@ ./config/webpack-dev-config.js

ERROR in ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/mkdir.js
Module not found: Error: Can't resolve 'fs' in '/Users/lwz/Desktop/qwork/resource-render/node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib'
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/mkdir.js 8:11-24
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/unpack.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/index.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/package.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib sync ^./.$
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/_fsevents@1.2.9@fsevents/fsevents.js
@ ./node_modules/_chokidar@2.1.8@chokidar/lib/fsevents-handler.js
@ ./node_modules/_chokidar@2.1.8@chokidar/index.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js
@ (webpack)/lib/node/NodeWatchFileSystem.js
@ (webpack)/lib/node sync ^./.
$
@ (webpack)/lib/node/NodeMainTemplate.runtime.js
@ (webpack)/lib/node/NodeMainTemplatePlugin.js
@ (webpack)/lib/node/NodeTemplatePlugin.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/lib/compiler.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/index.js
@ ./config/webpack-dev-config.js

ERROR in ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/list.js
Module not found: Error: Can't resolve 'fs' in '/Users/lwz/Desktop/qwork/resource-render/node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib'
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/lib/list.js 11:11-24
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/tar/index.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/package.js
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib sync ^./.$
@ ./node_modules/_fsevents@1.2.9@fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js
@ ./node_modules/_fsevents@1.2.9@fsevents/fsevents.js
@ ./node_modules/_chokidar@2.1.8@chokidar/lib/fsevents-handler.js
@ ./node_modules/_chokidar@2.1.8@chokidar/index.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/DirectoryWatcher.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watcherManager.js
@ ./node_modules/_watchpack@1.6.0@watchpack/lib/watchpack.js
@ (webpack)/lib/node/NodeWatchFileSystem.js
@ (webpack)/lib/node sync ^./.
$
@ (webpack)/lib/node/NodeMainTemplate.runtime.js
@ (webpack)/lib/node/NodeMainTemplatePlugin.js
@ (webpack)/lib/node/NodeTemplatePlugin.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/lib/compiler.js
@ ./node_modules/_html-webpack-plugin@3.2.0@html-webpack-plugin/index.js
@ ./config/webpack-dev-config.js

I executed the following code to solve the problem

cross-env NODE_ENV=dev webpack-dev-server --config config/webpack-dev-config.js --progress
If you do not add -- config, an error will occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests