graphql-boilerplates / vue-fullstack-graphql

Starter projects for fullstack applications based on Vue.js & GraphQL.
348 stars 58 forks source link

"node-pre-gyp ERR! not ok " while building packages #476

Open juliendargelos opened 5 years ago

juliendargelos commented 5 years ago

By running gql create with the vue-fullstack-advanced boilerplate, I get an error while building packages.

graphql-cli 3.0.11 node 10.14.1 with nvm macOS 10.14.3

[graphql create] Installing node dependencies for /Users/Julien/Developer/nuxt/vue-fullstack-advanced/package.json...
yarn install v1.16.0
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
warning " > optimize-css-assets-webpack-plugin@4.0.3" has incorrect peer dependency "webpack@^4.0.0".
[5/5] 🔨  Building fresh packages...
[-/3] ⡀ waiting...
[2/3] ⡀ fsevents
warning Error running install script for optional dependency: "/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments: 
Directory: /Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.39
node-pre-gyp info using node@10.14.1 | darwin | x64
node-pre-gyp info check checked for \"/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.14.1 (node-v64 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.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.14.1 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp http Connection closed while downloading tarball file 
gypgyp  info it worked if it ends with ok
info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gypgyp info  usinginfo node@10.14.1 | darwin | x64
 using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gypgyp  info infook  
ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gypgyp  info infospawn  /usr/bin/python
spawn /usr/bin/python
gyp info spawn args [ '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp gypinfo spawn args    'binding.gyp',
gypinfo info  spawn argsspawn args   '-f',
gyp [ '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
 info spawn argsgyp   'make',
gyp  info infospawn args    '-I',
spawn argsgyp   'binding.gyp',
 gypinfo  infospawn args    '/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/build/config.gypi',
spawn argsgyp   '-f',
 gypinfo  infospawn args    '-I',
spawn argsgyp   'make',
 gypinfo  infospawn args    '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
spawn argsgyp   '-I',
 gypinfo  infospawn args    '-I',
spawn argsgyp   '/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/build/config.gypi',
 gypinfo  infospawn args    '/Users/Julien/.node-gyp/10.14.1/include/node/common.gypi',
spawn argsgyp   '-I',
 gypinfo  infospawn args    '-Dlibrary=shared_library',
spawn argsgyp   '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
 gypinfo  infospawn args    '-Dvisibility=default',
spawn argsgyp   '-I',
 gypinfo  infospawn args    '-Dnode_root_dir=/Users/Julien/.node-gyp/10.14.1',
spawn argsgyp   '/Users/Julien/.node-gyp/10.14.1/include/node/common.gypi',
 gypinfo  infospawn args    '-Dnode_gyp_dir=/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp',
spawn argsgyp   '-Dlibrary=shared_library',
 gypinfo  infospawn args    '-Dnode_lib_file=/Users/Julien/.node-gyp/10.14.1/<(target_arch)/node.lib',
spawn argsgyp   '-Dvisibility=default',
 gypinfo  infospawn args    '-Dmodule_root_dir=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents',
spawn argsgyp info    '-Dnode_root_dir=/Users/Julien/.node-gyp/10.14.1',
spawn args   '-Dnode_engine=v8',
gypgyp  infoinfo spawn args    '--depth=.',
gypspawn args    '-Dnode_gyp_dir=/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp',
infogyp  info spawn argsspawn args   '--no-parallel',
   '-Dnode_lib_file=/Users/Julien/.node-gyp/10.14.1/<(target_arch)/node.lib',
gypgyp  infoinfo  spawn argsspawn args   '-Dmodule_root_dir=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents',
   '--generator-output',
gyp infogyp spawn args    '-Dnode_engine=v8',
gypinfo  infospawn args spawn args   'build',
   '--depth=.',
gypgyp  info infospawn args    '--no-parallel',
spawn args   '-Goutput_dir=.' ]
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp infogyp ok 
 info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gypgyp  infoinfo  spawnspawn make
 make
gypgyp  infoinfo  spawn argsspawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
 [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:203:
189:
In file included from ../../nan/nan_new.h:../../nan/nan_implementation_12_inl.h189::
337:28:../../nan/nan_implementation_12_inl.h :warning337:: 28'New' is deprecated [-Wdeprecated-declarations]:
 warning: 'New' is deprecated [-Wdeprecated-declarations]
  return v8::StringObject::New(value).As<v8::StringObject>();
  return v8::StringObject::New(value).As<v8::StringObject>();                           ^

                           ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:5052/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:5052:3: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use Isolate* version\",
  ^
:3: note: 'New' has been explicitly marked deprecated here
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29  V8_DEPRECATED(\"Use Isolate* version\",:
   ^note
: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:839:18:In file included from ../fsevents.cc:6:
../../nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
 warning    return node::MakeCallback(: 
'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:168:    return node::MakeCallback(1
:                 ^
 note: 'MakeCallback' has been explicitly marked deprecated here/Users/Julien/.node-gyp/10.14.1/include/node/node.h
:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",:
20^:
 note: /Users/Julien/.node-gyp/10.14.1/include/node/node.hexpanded from macro '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.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:161:1: note: 'MakeCallback' has been explicitly marked deprecated here
In file included from ../fsevents.cc:6:
../../nan/nan.hNODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",:
854^:
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:1820::  warningnote: : expanded from macro 'NODE_DEPRECATED'
'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    __attribute__((deprecated(message))) declarator
    return node::MakeCallback(                   ^

                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:168:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:869:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:161:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:916:44: warning: 'ToString' is deprecated [-Wdeprecated-declarations]
      v8::Local<v8::String> string = from->ToString();
                                           ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:2454:10: note: 'ToString' has been explicitly marked deprecated here
  inline V8_DEPRECATED(\"Use maybe version\", Local<String> ToString() const);
         ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:916:44: warning: 'ToString' is deprecated [-Wdeprecated-declarations]
      v8::Local<v8::String> string = from->ToString();
                                           ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:2454:10: noteIn file included from ../fsevents.cc: :6:
'ToString' has been explicitly marked deprecated here../../nan/nan.h
:926:27: warning: 'WriteUtf8' is deprecated [-Wdeprecated-declarations]
  inline V8_DEPRECATED(\"Use maybe version\", Local<String> ToString() const);
         ^
        length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h                          ^:
327:29/Users/Julien/.node-gyp/10.14.1/include/node/v8.h::2658 :note3: :expanded from macro 'V8_DEPRECATED'
 note: 'WriteUtf8' has been explicitly marked deprecated here
  declarator __attribute__((deprecated))
                            ^
  V8_DEPRECATED(\"Use Isolate* version\",
  ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:926:27: warning: 'WriteUtf8' is deprecated [-Wdeprecated-declarations]
        length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                          ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:2658:3: note: 'WriteUtf8' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use Isolate* version\",
  ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1478:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1478:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
7 warnings generated.
7 warnings 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/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command \"/Users/Julien/.nvm/versions/node/v10.14.1/bin/node\" \"/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64\"
gyp ERR! cwd /Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents
gyp ERR! node -v v10.14.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
  SOLINK_MODULE(target) Release/fse.node
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/Julien/.nvm/versions/node/v10.14.1/bin/node /Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/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:962:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command \"/Users/Julien/.nvm/versions/node/v10.14.1/bin/node\" \"/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents
node-pre-gyp ERR! node -v v10.14.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok 
Failed to execute '/Users/Julien/.nvm/versions/node/v10.14.1/bin/node /Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
  COPY /Users/Julien/Developer/nuxt/vue-fullstack-advanced/node_modules/watchpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
✨  Done in 19.72s.
[graphql create] Installing node dependencies for /Users/Julien/Developer/nuxt/vue-fullstack-advanced/.install/package.json...
yarn install v1.16.0
warning package.json: No license field
warning install@0.0.0: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > graphql-boilerplate-install@0.1.9" has unmet peer dependency "prisma@1.3.2".
[4/4] 🔨  Building fresh packages...
✨  Done in 0.30s.
[graphql create] Installing node dependencies for /Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/package.json...
yarn install v1.16.0
warning package.json: No license field
warning graphql-boilerplate: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "graphql-yoga > graphql-middleware@3.0.2" has incorrect peer dependency "graphql@^14.1.1".
warning "graphql-yoga > graphql-subscriptions@0.5.8" has incorrect peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0".
warning "graphql-yoga > subscriptions-transport-ws@0.9.8" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.1".
warning "graphql-yoga > apollo-server-express > apollo-server-core@1.3.6" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
warning "graphql-yoga > apollo-server-express > apollo-server-core > apollo-cache-control@0.1.0" has incorrect peer dependency "graphql@0.10.x - 0.13.x".
warning "graphql-yoga > apollo-server-express > apollo-server-core > apollo-tracing@0.1.3" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-yoga > apollo-server-express > apollo-server-core > graphql-extensions@0.0.7" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0".
warning " > prisma-binding@1.5.19" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma-binding > apollo-link@1.2.1" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0".
warning "prisma-binding > graphql-binding@1.2.5" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma-binding > graphql-import@0.4.5" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma-binding > graphql-tools@2.21.0" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma-binding > subscriptions-transport-ws@0.9.9" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.1".
warning "prisma-binding > graphql-tools > apollo-link@1.1.0" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0".
warning "prisma > prisma-cli-core@1.0.36" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0".
[4/4] 🔨  Building fresh packages...
[-/4] ⠄ waiting...
[2/4] ⠄ fsevents
[-/4] ⠄ waiting...
warning Error running install script for optional dependency: "/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments: 
Directory: /Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.39
node-pre-gyp info using node@10.14.1 | darwin | x64
node-pre-gyp info check checked for \"/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.14.1 (node-v64 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.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@10.14.1 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp http Connection closed while downloading tarball file 
gypgyp  info it worked if it ends with ok
info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gypgyp  infoinfo  usingusing node@10.14.1 | darwin | x64
 node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gyp info ok 
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gypgyp  info spawninfo /usr/bin/python
 spawn /usr/bin/python
gyp info spawn args [ '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gypgyp info  infospawn args    'binding.gyp',
spawn argsgyp [ '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
 gyp info infospawn args   'binding.gyp',
 gypspawn args    '-f',
gypinfo  info spawn argsspawn args   '-f',
   'make',
gypgyp  infoinfo  spawn argsspawn args   'make',
   '-I',
gypgyp  infoinfo  spawn argsspawn args   '-I',
   '/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/build/config.gypi',
gypgyp  infoinfo  spawn argsspawn args   '/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/build/config.gypi',
   '-I',
gypgyp  infoinfo  spawn argsspawn args   '-I',
   '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gypgyp  infoinfo  spawn argsspawn args   '/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
   '-I',
gypgyp  infoinfo  spawn argsspawn args   '-I',
   '/Users/Julien/.node-gyp/10.14.1/include/node/common.gypi',
gypgyp  infoinfo  spawn argsspawn args   '/Users/Julien/.node-gyp/10.14.1/include/node/common.gypi',
   '-Dlibrary=shared_library',
gypgyp  infoinfo  spawn argsspawn args   '-Dlibrary=shared_library',
   '-Dvisibility=default',
gypgyp  infoinfo  spawn argsspawn args   '-Dvisibility=default',
   '-Dnode_root_dir=/Users/Julien/.node-gyp/10.14.1',
gypgyp  infoinfo  spawn argsspawn args   '-Dnode_root_dir=/Users/Julien/.node-gyp/10.14.1',
   '-Dnode_gyp_dir=/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp',
gypgyp  infoinfo  spawn argsspawn args   '-Dnode_gyp_dir=/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp',
   '-Dnode_lib_file=/Users/Julien/.node-gyp/10.14.1/<(target_arch)/node.lib',
gypgyp  infoinfo  spawn argsspawn args   '-Dnode_lib_file=/Users/Julien/.node-gyp/10.14.1/<(target_arch)/node.lib',
   '-Dmodule_root_dir=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents',
gypgyp  infoinfo  spawn argsspawn args   '-Dmodule_root_dir=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents',
   '-Dnode_engine=v8',
gypgyp  infoinfo  spawn argsspawn args   '-Dnode_engine=v8',
   '--depth=.',
gypgyp  infoinfo  spawn argsspawn args   '--depth=.',
   '--no-parallel',
gypgyp  infoinfo  spawn argsspawn args   '--no-parallel',
   '--generator-output',
gypgyp  infoinfo  spawn argsspawn args   '--generator-output',
   'build',
gypgyp  infoinfo  spawn argsspawn args   'build',
   '-Goutput_dir=.' ]
gyp info spawn args   '-Goutput_dir=.' ]
gyp info okgyp 
 info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.14.1 | darwin | x64
gypgyp  infoinfo spawn  make
spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.ccIn file included from :../fsevents.cc6:
In file included from :6:
In file included from ../../nan/nan.h../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:203:
In file included from ../../nan/nan_new.h::
../../nan/nan_implementation_12_inl.h:337:28: warning: 'New' is deprecated [-Wdeprecated-declarations]
189:
../../nan/nan_implementation_12_inl.h:337:  return v8::StringObject::New(value).As<v8::StringObject>();
28:                           ^
 warning: 'New' is deprecated [-Wdeprecated-declarations]
  return v8::StringObject::New(value).As<v8::StringObject>();
                           ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:5052:3: note: 'New' has been explicitly marked deprecated here
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:5052:3: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED(\"Use Isolate* version\",
  ^
  V8_DEPRECATED(\"Use Isolate* version\",
  ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:29:: 327:note29: : expanded from macro 'V8_DEPRECATED'note
: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:839:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:In file included from ../fsevents.cc:6:
../../nan/nan.h20::854: 18note: : warningexpanded from macro 'NODE_DEPRECATED': 
'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
    __attribute__((deprecated(message))) declarator
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:168:                   ^
1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:854:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:168:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
In file included from /Users/Julien/.node-gyp/10.14.1/include/node/node.h../fsevents.cc::916:
:../../nan/nan.h20::869: 18note::  expanded from macro 'NODE_DEPRECATED'
warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    __attribute__((deprecated(message))) declarator
                   ^
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:161:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
In file included from ../fsevents.cc:6:
../../nan/nan.h:869:18:    __attribute__((deprecated(message))) declarator 
warning                   ^: 
'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return node::MakeCallback(
                 ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:161:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:916:44: warning: 'ToString' is deprecated [-Wdeprecated-declarations]
      v8::Local<v8::String> string = from->ToString();
                                           ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h:2454:10: note: 'ToString' has been explicitly marked deprecated here
  inline V8_DEPRECATED(\"Use maybe version\", Local<String> ToString() const);
         ^In file included from ../fsevents.cc:6
:
../../nan/nan.h:916:44/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:: warning: 29'ToString' is deprecated [-Wdeprecated-declarations]:
 note: expanded from macro 'V8_DEPRECATED'
      v8::Local<v8::String> string = from->ToString();
                                           ^
  declarator __attribute__((deprecated))
/Users/Julien/.node-gyp/10.14.1/include/node/v8.h                            ^:
2454:10: note: 'ToString' has been explicitly marked deprecated here
  inline V8_DEPRECATED(\"Use maybe version\", Local<String> ToString() const);
         ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:926:27: warning: 'WriteUtf8' is deprecated [-Wdeprecated-declarations]
        length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                          ^
In file included from ../fsevents.cc/Users/Julien/.node-gyp/10.14.1/include/node/v8.h::2658:6:
3:../../nan/nan.h :note926:27: : warning: 'WriteUtf8' has been explicitly marked deprecated here'WriteUtf8' is deprecated [-Wdeprecated-declarations]

  V8_DEPRECATED(\"Use Isolate* version\",
  ^
        length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:
                          ^327
:29: note/Users/Julien/.node-gyp/10.14.1/include/node/v8.h: :expanded from macro 'V8_DEPRECATED'2658:
3: note: 'WriteUtf8' has been explicitly marked deprecated here
  declarator __attribute__((deprecated))
                            ^
  V8_DEPRECATED(\"Use Isolate* version\",
  ^
/Users/Julien/.node-gyp/10.14.1/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1478:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
In file included from ../fsevents.cc:6:
../../nan/nan.h    __attribute__((deprecated(message))) declarator:
1478                   ^:
31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
    return scope.Escape(node::MakeCallback(
                              ^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:175:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED(\"Use MakeCallback(..., async_context)\",
^
/Users/Julien/.node-gyp/10.14.1/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
7 warnings generated.
7 warnings 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/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command \"/Users/Julien/.nvm/versions/node/v10.14.1/bin/node\" \"/Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64\"
gyp ERR! cwd /Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents
gyp ERR! node -v v10.14.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
  SOLINK_MODULE(target) Release/fse.node
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/Julien/.nvm/versions/node/v10.14.1/bin/node /Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/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:962:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command \"/Users/Julien/.nvm/versions/node/v10.14.1/bin/node\" \"/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents
node-pre-gyp ERR! node -v v10.14.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok 
Failed to execute '/Users/Julien/.nvm/versions/node/v10.14.1/bin/node /Users/Julien/.nvm/versions/node/v10.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
  COPY /Users/Julien/Developer/nuxt/vue-fullstack-advanced/server/node_modules/prisma-cli-core/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
✨  Done in 36.01s.
[graphql create] Running boilerplate install script... 
Running $ prisma deploy...
Creating stage dev for service vue-fullstack-advanced !

ERROR: Project not found: 'cluster@default'

{
  "errors": [
    {
      "message": "Project not found: 'cluster@default'",
      "code": 3016,
      "requestId": "eu1:cjwl35342trd60b05nvzz24yi"
    }
  ],
  "status": 200
}

Get in touch if you need help: https://www.graph.cool/forum
To get more detailed output, run $ export DEBUG="*"

Next steps:
  1. Change directory: `cd vue-fullstack-advanced/server`
  2. Start local server: `yarn start` (you can now open a Playground at http://localhost:4000)
  3. Change directory: `cd ..`
  4. Start VueJS app: `yarn start`
  5. Open browser: http://localhost:3000
juliendargelos commented 5 years ago

This error can be resolved the following way:

# Create the project selecting vue-fullstack-advanced
gql create my-project

# Let the command fail

# Move to project directory, remove yarn.lock and install dependencies
cd my-project
rm yarn.lock
yarn

# Move to server directory and run prisma deploy
cd server
prisma deploy