yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.4k stars 2.73k forks source link

yarn global add package always seems to have to run twice #5435

Open idkjs opened 6 years ago

idkjs commented 6 years ago

Do you want to request a feature or report a bug? bug

What is the current behavior? running yarn global add package regularly fails the first time then works the second

What is the expected behavior? add the package globally Please mention your node.js, yarn and operating system version.

PrisBook:~$ node -v
v9.5.0
PrisBook:~$ yarn -v
1.5.1
PrisBook:~$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.13.3
BuildVersion:   17D102

If the current behavior is a bug, please provide the steps to reproduce.

PrisBook:database$[with-prisma !?] yarn global add prisma
yarn global v1.5.1
warning ../../../package.json: No license field
[1/4] šŸ”  Resolving packages...
[2/4] šŸšš  Fetching packages...
[3/4] šŸ”—  Linking dependencies...
warning "prisma > prisma-cli-core@1.0.22" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma > prisma-cli-core > graphql-config@2.0.1" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma > prisma-cli-core > graphql-config > graphql-import@0.4.5" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
[4/4] šŸ“ƒ  Building fresh packages...
ā 
ā 
[1/3] ā   @esy-ocaml/ocamlrun
[-/3] ā   waiting...
[-/3] ā   waiting...[-/3] ā   waiting...
error An unexpected error occurred: "/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun: Command failed.
Exit code: 1
Command: sh
Arguments: -c bash ./postinstall.sh
Directory: /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun
Output:
ln: ./libcamlrun.a: File exists
Configuring OCaml version 4.06.0
Configuring for host x86_64-apple-darwin17.4.0 ...
Configuring for target x86_64-apple-darwin17.4.0 ...
Using compiler gcc.
Compiler family and version: clang-9-0.
The C compiler is ISO C99 compliant.
Checking the sizes of integers and pointers...
Wow! A 64 bit architecture!
This is a little-endian architecture.
Doubles can be word-aligned.
64-bit integers can be word-aligned.
ranlib found
#! appears to work in shell scripts.
POSIX signal handling found.
expm1(), log1p(), hypot(), copysign() found.
getrusage() found.
times() found.
issetugid() found.
termcap functions found (with libraries '-lcurses')
You have BSD sockets.
socklen_t is defined in <sys/socket.h>
inet_aton() found.
IPv6 is supported.
stdint.h found.
unistd.h found.
off_t is defined in <sys/types.h>
dirent.h found.
rewinddir() found.
lockf() found.
mkfifo() found.
getcwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
sys/select.h found.
select() found.
nanosleep() found.
symlink() found.
waitpid() found.
wait4() found.
getgroups() found.
setgroups() found.
initgroups() found.
POSIX termios found.
Asynchronous I/O are supported.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
mktime() found.
setsid() found.
putenv() found.
setlocale() and <locale.h> found.
dlopen() found.
Dynamic loading of shared libraries is supported.
mmap() found.
pwrite() found
stat() supports nanosecond precision.
mkstemp() found
nice() found
sys/shm.h found.
Cannot detect system stack overflow.
POSIX threads library supported.
Options for linking with POSIX threads: -lpthread
sigwait() found
Bytecode threads library supported.
[WARNING] Cannot compile X11 program.
[WARNING] X11 not found, the \"graph\" library will not be supported.
[WARNING] BFD library not found, 'objinfo' will be unable to display info  on .cmxs files.
Assembler does not support CFI

** Configuration summary **

Directories where OCaml will be installed:
        binaries.................. /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin
        standard library.......... /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/lib/ocaml
        manual pages.............. /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/man (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... gcc
        options for compiling.....  -O2 -fno-strict-aliasing -fwrapv
        options for linking.......     -lcurses -lpthread
        shared libraries are supported
        options for compiling.....   -O2 -fno-strict-aliasing -fwrapv
        command for building...... gcc -shared -flat_namespace -undefined suppress  -Wl,-no_compact_unwind -o lib.so /a/path objs
Configuration for the native-code compiler:
        (not supported on this platform)
Source-level replay debugger: not supported
Additional libraries supported:
        unix str dynlink bigarray systhreads threads
The \"graph\" library: not supported

** OCaml configuration completed successfully **

echo \"/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/lib/ocaml/stublibs\" > ld.conf
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  interp.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  misc.c
echo \"/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/lib/ocaml\" >>ld.conf
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  stacks.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  fix_code.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  startup_aux.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  startup.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  freelist.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  major_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  minor_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  memory.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  alloc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  roots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  globroots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  fail.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  signals.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  signals_byt.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  printexc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  backtrace_prim.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  backtrace.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  compare.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  ints.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  floats.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  str.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  array.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  io.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  extern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  intern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  hash.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  sys.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  meta.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  parsing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  gc_ctrl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  terminfo.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  md5.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  obj.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  lexing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  callback.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  debugger.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  weak.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  compact.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  finalise.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  custom.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  dynlink.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  spacetime.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  afl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  unix.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  bigarray.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  main.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o interp.pic.o interp.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o misc.pic.o misc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o stacks.pic.o stacks.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o fix_code.pic.o fix_code.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o startup_aux.pic.o startup_aux.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o startup.pic.o startup.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o freelist.pic.o freelist.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o major_gc.pic.o major_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o minor_gc.pic.o minor_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o memory.pic.o memory.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o alloc.pic.o alloc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o roots.pic.o roots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o globroots.pic.o globroots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o fail.pic.o fail.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o signals.pic.o signals.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o signals_byt.pic.o signals_byt.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o printexc.pic.o printexc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o backtrace_prim.pic.o backtrace_prim.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o backtrace.pic.o backtrace.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o compare.pic.o compare.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o ints.pic.o ints.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o floats.pic.o floats.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o str.pic.o str.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o array.pic.o array.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o io.pic.o io.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o extern.pic.o extern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o intern.pic.o intern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o hash.pic.o hash.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o sys.pic.o sys.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o meta.pic.o meta.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o parsing.pic.o parsing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o gc_ctrl.pic.o gc_ctrl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o terminfo.pic.o terminfo.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o md5.pic.o md5.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o obj.pic.o obj.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o lexing.pic.o lexing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o callback.pic.o callback.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o debugger.pic.o debugger.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o weak.pic.o weak.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o compact.pic.o compact.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o finalise.pic.o finalise.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o custom.pic.o custom.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o dynlink.pic.o dynlink.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o spacetime.pic.o spacetime.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o afl.pic.o afl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o unix.pic.o unix.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o bigarray.pic.o bigarray.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o main.pic.o main.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  prims.c
ar rc libcamlrun.a  interp.o misc.o stacks.o fix_code.o startup_aux.o startup.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o globroots.ofail.o signals.o signals_byt.o printexc.o backtrace_prim.o backtrace.o compare.o ints.o floats.o str.o array.o io.o extern.o intern.o hash.o sys.o meta.o parsing.o gc_ctrl.o terminfo.o md5.o obj.o lexing.o callback.o debugger.o weak.o compact.o finalise.o custom.o dynlink.o spacetime.o afl.o unix.obigarray.o main.o; ranlib libcamlrun.a
gcc -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -Wl,-no_compact_unwind  -o ocamlrun prims.o libcamlrun.a -lcurses -lpthread
ar rc libcamlrun_pic.a  interp.pic.o misc.pic.o stacks.pic.o fix_code.pic.o startup_aux.pic.o startup.pic.o freelist.pic.o major_gc.pic.o minor_gc.pic.o memory.pic.o alloc.pic.o roots.pic.o globroots.pic.o fail.pic.o signals.pic.o signals_byt.pic.o printexc.pic.o backtrace_prim.pic.o backtrace.pic.o compare.pic.o ints.pic.o floats.pic.o str.pic.o array.pic.o io.pic.o extern.pic.o intern.pic.o hash.pic.o sys.pic.o meta.pic.o parsing.pic.o gc_ctrl.pic.o terminfo.pic.o md5.pic.o obj.pic.o lexing.pic.o callback.pic.o debugger.pic.o weak.pic.o compact.pic.o finalise.pic.o custom.pic.o dynlink.pic.o spacetime.pic.o afl.pic.o unix.pic.o bigarray.pic.o main.pic.o; ranlib libcamlrun_pic.a
gcc -shared -flat_namespace -undefined suppress                 -Wl,-no_compact_unwind -o libcamlrun_shared.so interp.pic.o misc.pic.o stacks.pic.o fix_code.pic.o startup_aux.pic.o startup.pic.o freelist.pic.o major_gc.pic.o minor_gc.pic.o memory.pic.o alloc.pic.o roots.pic.o globroots.pic.o fail.pic.o signals.pic.o signals_byt.pic.o printexc.pic.o backtrace_prim.pic.o backtrace.pic.o compare.pic.o ints.pic.o floats.pic.o str.pic.o array.pic.o io.pic.o extern.pic.o intern.pic.o hash.pic.o sys.pic.o meta.pic.o parsing.pic.o gc_ctrl.pic.o terminfo.pic.o md5.pic.o obj.pic.o lexing.pic.o callback.pic.o debugger.pic.o weak.pic.o compact.pic.o finalise.pic.o custom.pic.o dynlink.pic.o spacetime.pic.o afl.pic.o unix.pic.o bigarray.pic.o main.pic.o -lcurses -lpthread
for suff in '' d i; do \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff > camlheader$suff && \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff >target_camlheader$suff; \\
\tdone && \\
\techo '#!' | tr -d '\\012' > camlheader_ur;
for suff in '' d i; do \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff > camlheader$suff && \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff >target_camlheader$suff; \\
\tdone && \\
\techo '#!' | tr -d '\\012' > camlheader_ur;
for suff in '' d i; do \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff > camlheader$suff && \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff >target_camlheader$suff; \\
\tdone && \\
\techo '#!' | tr -d '\\012' > camlheader_ur;".
info If you think this is a bug, please open a bug

PrisBook:database$[with-prisma !?] yarn global add prisma
yarn global v1.5.1
warning ../../../package.json: No license field
[1/4] šŸ”  Resolving packages...
[2/4] šŸšš  Fetching packages...
[3/4] šŸ”—  Linking dependencies...
warning "prisma > prisma-cli-core@1.0.22" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma > prisma-cli-core > graphql-config@2.0.1" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma > prisma-cli-core > graphql-config > graphql-import@0.4.5" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
[4/4] šŸ“ƒ  Building fresh packages...
[1/9] ā ‚ fsevents
[2/9] ā ‚ @esy-ocaml/ocamlrun
success Installed "prisma@1.3.2" with binaries:
      - prisma
āœØ  Done in 44.79s.PrisBook:database$[with-prisma !?]
idkjs commented 6 years ago

Happened with nodemon also. Here is output from yarn global add graphql-cli. Installs on 2nd go around.

PrisBook:blogr$[with-prisma-bindings] yarn globaladd graphql-cli
yarn global v1.5.1
warning ../../../package.json: No license field
[1/4] šŸ”  Resolving packages...
[2/4] šŸšš  Fetching packages...
warning Pattern ["graphql-cli@^2.15.7"] is tryingto unpack in the same destination "/Users/prisc_000/Library/Caches/Yarn/v1/npm-graphql-cli-2.15.7-d75f255809eb640ac38812de32b936093db35eb8" as pattern ["graphql-cli@2.15.7"]. This could result in non-deterministic behavior, skipping.
[3/4] šŸ”—  Linking dependencies...
warning "prisma > prisma-cli-core@1.0.22" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma > prisma-cli-core > graphql-config > graphql-import@0.4.5" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
[4/4] šŸ“ƒ  Building fresh packages...
[1/2] ā ‚ @esy-ocaml/ocamlrun
[2/2] ā ‚ fastreplacestring
[1/2] ā”€ @esy-ocaml/ocamlrun
[-/2] ā”€ waiting...
[-/2] ā”€ waiting...[-/2] ā”€ waiting...
error An unexpected error occurred: "/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun: Command failed.
Exit code: 1
Command: sh
Arguments: -c bash ./postinstall.sh
Directory: /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun
Output:
ln: ./libcamlrun.a: File exists
Configuring OCaml version 4.06.0
Configuring for host x86_64-apple-darwin17.4.0 ...
Configuring for target x86_64-apple-darwin17.4.0 ...
Using compiler gcc.
Compiler family and version: clang-9-0.
The C compiler is ISO C99 compliant.
Checking the sizes of integers and pointers...
Wow! A 64 bit architecture!
This is a little-endian architecture.
Doubles can be word-aligned.
64-bit integers can be word-aligned.
ranlib found
#! appears to work in shell scripts.
POSIX signal handling found.
expm1(), log1p(), hypot(), copysign() found.
getrusage() found.
times() found.
issetugid() found.
termcap functions found (with libraries '-lcurses')
You have BSD sockets.
socklen_t is defined in <sys/socket.h>
inet_aton() found.
IPv6 is supported.
stdint.h found.
unistd.h found.
off_t is defined in <sys/types.h>
dirent.h found.
rewinddir() found.
lockf() found.
mkfifo() found.
getcwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
sys/select.h found.
select() found.
nanosleep() found.
symlink() found.
waitpid() found.
wait4() found.
getgroups() found.
setgroups() found.
initgroups() found.
POSIX termios found.
Asynchronous I/O are supported.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
mktime() found.
setsid() found.
putenv() found.
setlocale() and <locale.h> found.
dlopen() found.
Dynamic loading of shared libraries is supported.
mmap() found.
pwrite() found
stat() supports nanosecond precision.
mkstemp() found
nice() found
sys/shm.h found.
Cannot detect system stack overflow.
POSIX threads library supported.
Options for linking with POSIX threads: -lpthread
sigwait() found
Bytecode threads library supported.
[WARNING] Cannot compile X11 program.
[WARNING] X11 not found, the \"graph\" library will not be supported.
[WARNING] BFD library not found, 'objinfo' will be unable to display info  on .cmxs files.
Assembler does not support CFI

** Configuration summary **

Directories where OCaml will be installed:
        binaries.................. /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin
        standard library.......... /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/lib/ocaml
        manual pages.............. /Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/man (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... gcc
        options for compiling.....  -O2 -fno-strict-aliasing -fwrapv
        options for linking.......     -lcurses -lpthread
        shared libraries are supported
        options for compiling.....   -O2 -fno-strict-aliasing -fwrapv
        command for building...... gcc -shared -flat_namespace -undefined suppress  -Wl,-no_compact_unwind -o lib.so /a/path objs
Configuration for the native-code compiler:
        (not supported on this platform)
Source-level replay debugger: not supported
Additional libraries supported:
        unix str dynlink bigarray systhreads threads
The \"graph\" library: not supported

** OCaml configuration completed successfully **

echo \"/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/lib/ocaml/stublibs\" > ld.conf
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  interp.c
echo \"/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/lib/ocaml\" >>ld.conf
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  misc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  stacks.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  fix_code.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  startup_aux.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  startup.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  freelist.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  major_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  minor_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  memory.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  alloc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  roots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  globroots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  fail.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  signals.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  signals_byt.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  printexc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  backtrace_prim.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  backtrace.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  compare.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  ints.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  floats.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  str.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  array.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  io.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  extern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  intern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  hash.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  sys.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  meta.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  parsing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  gc_ctrl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  terminfo.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  md5.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  obj.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  lexing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  callback.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  debugger.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  weak.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  compact.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  finalise.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  custom.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  dynlink.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  spacetime.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  afl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  unix.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  bigarray.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  main.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o interp.pic.o interp.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o misc.pic.o misc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o stacks.pic.o stacks.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o fix_code.pic.o fix_code.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o startup_aux.pic.o startup_aux.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o startup.pic.o startup.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o freelist.pic.o freelist.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o major_gc.pic.o major_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o minor_gc.pic.o minor_gc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o memory.pic.o memory.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o alloc.pic.o alloc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o roots.pic.o roots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o globroots.pic.o globroots.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o fail.pic.o fail.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o signals.pic.o signals.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o signals_byt.pic.o signals_byt.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o printexc.pic.o printexc.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o backtrace_prim.pic.o backtrace_prim.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o backtrace.pic.o backtrace.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o compare.pic.o compare.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o ints.pic.o ints.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o floats.pic.o floats.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o str.pic.o str.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o array.pic.o array.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o io.pic.o io.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o extern.pic.o extern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o intern.pic.o intern.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o hash.pic.o hash.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o sys.pic.o sys.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o meta.pic.o meta.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o parsing.pic.o parsing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o gc_ctrl.pic.o gc_ctrl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o terminfo.pic.o terminfo.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o md5.pic.o md5.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o obj.pic.o obj.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o lexing.pic.o lexing.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o callback.pic.o callback.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o debugger.pic.o debugger.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o weak.pic.o weak.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o compact.pic.o compact.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o finalise.pic.o finalise.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o custom.pic.o custom.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o dynlink.pic.o dynlink.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o spacetime.pic.o spacetime.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o afl.pic.o afl.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o unix.pic.o unix.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o bigarray.pic.o bigarray.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  -o main.pic.o main.c
gcc -c -O2 -fno-strict-aliasing -fwrapv -Wall  -g-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE  prims.c
ar rc libcamlrun.a  interp.o misc.o stacks.o fix_code.o startup_aux.o startup.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o globroots.ofail.o signals.o signals_byt.o printexc.o backtrace_prim.o backtrace.o compare.o ints.o floats.o str.o array.o io.o extern.o intern.o hash.o sys.o meta.o parsing.o gc_ctrl.o terminfo.o md5.o obj.o lexing.o callback.o debugger.o weak.o compact.o finalise.o custom.o dynlink.o spacetime.o afl.o unix.obigarray.o main.o; ranlib libcamlrun.a
gcc -O2 -fno-strict-aliasing -fwrapv -Wall  -g -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -Wl,-no_compact_unwind  -o ocamlrun prims.o libcamlrun.a -lcurses -lpthread
ar rc libcamlrun_pic.a  interp.pic.o misc.pic.o stacks.pic.o fix_code.pic.o startup_aux.pic.o startup.pic.o freelist.pic.o major_gc.pic.o minor_gc.pic.o memory.pic.o alloc.pic.o roots.pic.o globroots.pic.o fail.pic.o signals.pic.o signals_byt.pic.o printexc.pic.o backtrace_prim.pic.o backtrace.pic.o compare.pic.o ints.pic.o floats.pic.o str.pic.o array.pic.o io.pic.o extern.pic.o intern.pic.o hash.pic.o sys.pic.o meta.pic.o parsing.pic.o gc_ctrl.pic.o terminfo.pic.o md5.pic.o obj.pic.o lexing.pic.o callback.pic.o debugger.pic.o weak.pic.o compact.pic.o finalise.pic.o custom.pic.o dynlink.pic.o spacetime.pic.o afl.pic.o unix.pic.o bigarray.pic.o main.pic.o; ranlib libcamlrun_pic.a
gcc -shared -flat_namespace -undefined suppress                 -Wl,-no_compact_unwind -o libcamlrun_shared.so interp.pic.o misc.pic.o stacks.pic.o fix_code.pic.o startup_aux.pic.o startup.pic.o freelist.pic.o major_gc.pic.o minor_gc.pic.o memory.pic.o alloc.pic.o roots.pic.o globroots.pic.o fail.pic.o signals.pic.o signals_byt.pic.o printexc.pic.o backtrace_prim.pic.o backtrace.pic.o compare.pic.o ints.pic.o floats.pic.o str.pic.o array.pic.o io.pic.o extern.pic.o intern.pic.o hash.pic.o sys.pic.o meta.pic.o parsing.pic.o gc_ctrl.pic.o terminfo.pic.o md5.pic.o obj.pic.o lexing.pic.o callback.pic.o debugger.pic.o weak.pic.o compact.pic.o finalise.pic.o custom.pic.o dynlink.pic.o spacetime.pic.o afl.pic.o unix.pic.o bigarray.pic.o main.pic.o -lcurses -lpthread
for suff in '' d i; do \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff > camlheader$suff && \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff >target_camlheader$suff; \\
\tdone && \\
\techo '#!' | tr -d '\\012' > camlheader_ur;
for suff in '' d i; do \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff > camlheader$suff && \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff >target_camlheader$suff; \\
\tdone && \\
\techo '#!' | tr -d '\\012' > camlheader_ur;
for suff in '' d i; do \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff > camlheader$suff && \\
\t  echo '#!/Users/prisc_000/.config/yarn/global/node_modules/@esy-ocaml/ocamlrun/install/bin/ocamlrun'$suff >target_camlheader$suff; \\
\tdone && \\
\techo '#!' | tr -d '\\012' > camlheader_ur;".
info If you think this is a bug, please open a bug

PrisBook:blogr$[with-prisma-bindings] yarn globaladd graphql-cli
yarn global v1.5.1
warning ../../../package.json: No license field
[1/4] šŸ”  Resolving packages...
[2/4] šŸšš  Fetching packages...
warning Pattern ["graphql-cli@^2.15.7"] is tryingto unpack in the same destination "/Users/prisc_000/Library/Caches/Yarn/v1/npm-graphql-cli-2.15.7-d75f255809eb640ac38812de32b936093db35eb8" as pattern ["graphql-cli@2.15.7"]. This could result in non-deterministic behavior, skipping.
[3/4] šŸ”—  Linking dependencies...
warning "prisma > prisma-cli-core@1.0.22" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
warning "prisma > prisma-cli-core > graphql-config > graphql-import@0.4.5" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0".
[4/4] šŸ“ƒ  Building fresh packages...
[1/9] ā ‚ fsevents
[2/9] ā ‚ @esy-ocaml/ocamlrun
success Installed "graphql-cli@2.15.7" with binari
es:
      - graphql      - gql
āœØ  Done in 64.53s.
PrisBook:blogr$[with-prisma-bindings]