Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Errors on fresh clone + npm install #3

Open
anishkny opened this issue Apr 25, 2019 · 0 comments
Open

Errors on fresh clone + npm install #3

anishkny opened this issue Apr 25, 2019 · 0 comments

Comments

@anishkny
Copy link

[/tmp/mEmVVs] node -v
v10.15.3
[/tmp/mEmVVs] npm -v
6.9.0
[/tmp/mEmVVs] git clone https://github.com/vuejs/vue-test-utils-getting-started
[/tmp/mEmVVs] cd vue-test-utils-getting-started
[/tmp/mEmVVs/vue-test-utils-getting-started] npm i

> [email protected] install /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
> node 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)
  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../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::192192:
:
../../nan/nan_maybe_43_inl.h../../nan/nan_maybe_43_inl.h::112112::1515::  errorerror: : nono  membermember  namednamed  'ForceSet''ForceSet'  inin 'v8::Object' 'v8::Object'

  return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);  return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);

         ~~~  ^         ~~~  ^

In file included from ../fsevents.cc:6:
../../nan/nan.h:834:18: warning: 'MakeCallback' is deprecated:In file included from  ../fsevents.ccUse: 6MakeCallback(...,:
 async_context)../../nan/nan.h :[-Wdeprecated-declarations]834:
18: warning: 'MakeCallback' is    return node::MakeCallback(
deprecated:                  ^Use
 MakeCallback(..., async_context) [-Wdeprecated-declarations]
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:176:1:     return node::MakeCallback(note
:                  ^'MakeCallback'
 has been explicitly marked deprecated/Users/shakal/.node-gyp/10.15.3/include/node/node.h :here176:
1: note: 'MakeCallback' has been explicitly NODE_DEPRECATED("Use MakeCallback(..., async_context)",marked
 deprecated here^

/Users/shakal/.node-gyp/10.15.3/include/node/node.h:91:20: NODE_DEPRECATED("Use MakeCallback(..., async_context)",note
: ^expanded
 from macro /Users/shakal/.node-gyp/10.15.3/include/node/node.h'NODE_DEPRECATED':91
:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.hIn file included from :../fsevents.cc849::618:
: ../../nan/nan.h:849:warning18: : 'MakeCallback' warningis:  deprecated: 'MakeCallback'Use  isMakeCallback(...,  deprecated:async_context)  Use[-Wdeprecated-declarations] MakeCallback(...,
 async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
    return node::MakeCallback(
                 ^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:169:1/Users/shakal/.node-gyp/10.15.3/include/node/node.h:: 169:1note::  'MakeCallback' notehas:  been'MakeCallback'  explicitlyhas  markedbeen  deprecatedexplicitly  heremarked
deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/shakal/.node-gyp/10.15.3/include/node/node.h:91:20/Users/shakal/.node-gyp/10.15.3/include/node/node.h:: 91:20note::  expanded notefrom:  macroexpanded  'NODE_DEPRECATED'from
macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
    __attribute__((deprecated(message))) declarator
                   ^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
../../nan/nan.h../../nan/nan.h::864864::1818::  warningwarning: : 'MakeCallback''MakeCallback'  isis  deprecated:deprecated:  UseUse  MakeCallback(...,MakeCallback(...,  async_context)async_context)  [-Wdeprecated-declarations][-Wdeprecated-declarations]

    return node::MakeCallback(    return node::MakeCallback(

                 ^                 ^

/Users/shakal/.node-gyp/10.15.3/include/node/node.h/Users/shakal/.node-gyp/10.15.3/include/node/node.h::162162::11::  notenote: : 'MakeCallback''MakeCallback'  hashas  beenbeen  explicitlyexplicitly  markedmarked  deprecateddeprecated  herehere

NODE_DEPRECATED("Use MakeCallback(..., async_context)",NODE_DEPRECATED("Use MakeCallback(..., async_context)",

^^

/Users/shakal/.node-gyp/10.15.3/include/node/node.h/Users/shakal/.node-gyp/10.15.3/include/node/node.h::9191::2020::  notenote: : expandedexpanded  fromfrom  macromacro  'NODE_DEPRECATED''NODE_DEPRECATED'

    __attribute__((deprecated(message))) declarator    __attribute__((deprecated(message))) declarator

                   ^                   ^

In file included from ../fsevents.cc:6:
../../nan/nan.h:In file included from 1473:../fsevents.cc31::6 :
../../nan/nan.hwarning:: 1473:31'MakeCallback':  is deprecated:warning : Use MakeCallback(...,'MakeCallback'  async_context)is  [-Wdeprecated-declarations]deprecated:
Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
    return scope.Escape(node::MakeCallback(
/Users/shakal/.node-gyp/10.15.3/include/node/node.h                              ^:
176:1: /Users/shakal/.node-gyp/10.15.3/include/node/node.hnote:: 176:'MakeCallback'1 :has  been noteexplicitly:  marked'MakeCallback'  deprecatedhas  herebeen
explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",/Users/shakal/.node-gyp/10.15.3/include/node/node.h
:91^:
20: /Users/shakal/.node-gyp/10.15.3/include/node/node.hnote:: 91:expanded20 :from  macro note'NODE_DEPRECATED':
expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
    __attribute__((deprecated(message))) declarator
                   ^
4 warnings and 1 error generated.
4 warnings and 1 error generated.
make: make: *** [Release/obj.target/fse/fsevents.o] Error 1*** [Release/obj.target/fse/fsevents.o] Error 1

gypgyp  ERR!ERR!  build errorbuild error

gyp ERR! stack Error: `make` failed with exit code: 2
gypgyp  ERR! ERR!stack      at ChildProcess.onExit (/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
stackgyp Error: `make` failed with exit code: 2
 gypERR!  ERR!stack      at ChildProcess.emit (events.js:189:13)
stackgyp     at ChildProcess.onExit (/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
 gypERR!  ERR!stack      at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! gyp System Darwin 18.2.0
ERR! gypSystem Darwin 18.2.0
 ERR! command "/usr/local/bin/node" "/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gypgyp  ERR!ERR!  cwdcommand /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
 "/usr/local/bin/node" "/Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp gypERR!  ERR!node -v  v10.15.3
cwd /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
gyp gypERR!  ERR!node-gyp -v  v3.8.0
node -v v10.15.3
gypgyp  ERR!ERR!  not oknode-gyp -v
 v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /Users/shakal/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/private/tmp/mEmVVs/vue-test-utils-getting-started/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
npm WARN [email protected] No repository field.
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

added 427 packages from 289 contributors and audited 9360 packages in 6.408s
found 644 vulnerabilities (338 low, 278 moderate, 28 high)
  run `npm audit fix` to fix them, or `npm audit` for details
[/tmp/mEmVVs/vue-test-utils-getting-started]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant