-
Notifications
You must be signed in to change notification settings - Fork 29
Unable to resolve dependency tree when updating to 0.21.0 #303
Comments
I was running npm 7.7.4. Downgrading to npm 6.14.12 fixed the issue. It looks like this is a bug in npm 7 where it can't find dependency versions. |
if you want to keep this npm vrsion , youcan use : |
that solves the dependency tree issue but there are build script errors now. npm 6.14.12 works perfectly fine. Here is the output. npm ERR! code 1 npm ERR! path /Users/e071324/.npm-global/lib/node_modules/turtle-cli/node_modules/sharp npm ERR! command failed npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) npm ERR! TOUCH Release/obj.target/libvips-cpp.stamp npm ERR! CXX(target) Release/obj.target/sharp/src/common.o npm ERR! info sharp Detected globally-installed libvips v8.10.6 npm ERR! info sharp Building from source via node-gyp npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@14.16.1 | darwin | x64 npm ERR! gyp info find Python using Python version 3.9.4 found at "/usr/local/opt/python@3.9/bin/python3.9" npm ERR! gyp info spawn /usr/local/opt/python@3.9/bin/python3.9 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/Users/e071324/.npm-global/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/e071324/.npm-global/lib/node_modules/turtle-cli/node_modules/sharp/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/e071324/.npm-global/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/e071324/Library/Caches/node-gyp/14.16.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/e071324/Library/Caches/node-gyp/14.16.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/e071324/.npm-global/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/e071324/Library/Caches/node-gyp/14.16.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/e071324/.npm-global/lib/node_modules/turtle-cli/node_modules/sharp', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from ../src/common.cc:22: npm ERR! In file included from /Users/e071324/Library/Caches/node-gyp/14.16.1/include/node/node.h:81: npm ERR! /usr/local/include/signal.h:69:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! extern __const char *__const sys_signame[NSIG]; npm ERR! ^ npm ERR! /usr/local/include/signal.h:69:21: note: insert '_Nullable' if the pointer may be null npm ERR! extern __const char *__const sys_signame[NSIG]; npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:69:21: note: insert '_Nonnull' if the pointer should never be null npm ERR! extern __const char *__const sys_signame[NSIG]; npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:82:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int pthread_kill(pthread_t, int); npm ERR! ^ npm ERR! /usr/local/include/signal.h:82:18: note: insert '_Nullable' if the pointer may be null npm ERR! int pthread_kill(pthread_t, int); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:82:18: note: insert '_Nonnull' if the pointer should never be null npm ERR! int pthread_kill(pthread_t, int); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:83:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIAS(pthread_sigmask); npm ERR! ^ npm ERR! /usr/local/include/signal.h:83:41: note: insert '_Nullable' if the pointer may be null npm ERR! int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIAS(pthread_sigmask); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:83:41: note: insert '_Nonnull' if the pointer should never be null npm ERR! int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIAS(pthread_sigmask); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:83:53: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIAS(pthread_sigmask); npm ERR! ^ npm ERR! /usr/local/include/signal.h:83:53: note: insert '_Nullable' if the pointer may be null npm ERR! int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIAS(pthread_sigmask); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:83:53: note: insert '_Nonnull' if the pointer should never be null npm ERR! int pthread_sigmask(int, const sigset_t *, sigset_t *) __DARWIN_ALIAS(pthread_sigmask); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:84:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigaction(int, const struct sigaction * __restrict, npm ERR! ^ npm ERR! /usr/local/include/signal.h:84:43: note: insert '_Nullable' if the pointer may be null npm ERR! int sigaction(int, const struct sigaction * __restrict, npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:84:43: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigaction(int, const struct sigaction * __restrict, npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:85:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! struct sigaction * __restrict); npm ERR! ^ npm ERR! /usr/local/include/signal.h:85:23: note: insert '_Nullable' if the pointer may be null npm ERR! struct sigaction * __restrict); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:85:23: note: insert '_Nonnull' if the pointer should never be null npm ERR! struct sigaction * __restrict); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:86:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigaddset(sigset_t *, int); npm ERR! ^ npm ERR! /usr/local/include/signal.h:86:24: note: insert '_Nullable' if the pointer may be null npm ERR! int sigaddset(sigset_t *, int); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:86:24: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigaddset(sigset_t *, int); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:87:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; npm ERR! ^ npm ERR! /usr/local/include/signal.h:87:31: note: insert '_Nullable' if the pointer may be null npm ERR! int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:87:31: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:87:53: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; npm ERR! ^ npm ERR! /usr/local/include/signal.h:87:53: note: insert '_Nullable' if the pointer may be null npm ERR! int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:87:53: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack) __WATCHOS_PROHIBITED __TVOS_PROHIBITED; npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:88:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigdelset(sigset_t *, int); npm ERR! ^ npm ERR! /usr/local/include/signal.h:88:24: note: insert '_Nullable' if the pointer may be null npm ERR! int sigdelset(sigset_t *, int); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:88:24: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigdelset(sigset_t *, int); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:89:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigemptyset(sigset_t *); npm ERR! ^ npm ERR! /usr/local/include/signal.h:89:26: note: insert '_Nullable' if the pointer may be null npm ERR! int sigemptyset(sigset_t *); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:89:26: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigemptyset(sigset_t *); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:90:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigfillset(sigset_t *); npm ERR! ^ npm ERR! /usr/local/include/signal.h:90:25: note: insert '_Nullable' if the pointer may be null npm ERR! int sigfillset(sigset_t *); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:90:25: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigfillset(sigset_t *); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:94:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigismember(const sigset_t *, int); npm ERR! ^ npm ERR! /usr/local/include/signal.h:94:32: note: insert '_Nullable' if the pointer may be null npm ERR! int sigismember(const sigset_t *, int); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:94:32: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigismember(const sigset_t *, int); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:96:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigpending(sigset_t *); npm ERR! ^ npm ERR! /usr/local/include/signal.h:96:25: note: insert '_Nullable' if the pointer may be null npm ERR! int sigpending(sigset_t *); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:96:25: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigpending(sigset_t *); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:97:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); npm ERR! ^ npm ERR! /usr/local/include/signal.h:97:37: note: insert '_Nullable' if the pointer may be null npm ERR! int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:97:37: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:97:60: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); npm ERR! ^ npm ERR! /usr/local/include/signal.h:97:60: note: insert '_Nullable' if the pointer may be null npm ERR! int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:97:60: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:100:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigsuspend(const sigset_t *) __DARWIN_ALIAS_C(sigsuspend); npm ERR! ^ npm ERR! /usr/local/include/signal.h:100:31: note: insert '_Nullable' if the pointer may be null npm ERR! int sigsuspend(const sigset_t *) __DARWIN_ALIAS_C(sigsuspend); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:100:31: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigsuspend(const sigset_t *) __DARWIN_ALIAS_C(sigsuspend); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:101:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! /usr/local/include/signal.h:101:28: note: insert '_Nullable' if the pointer may be null npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:101:28: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:101:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! /usr/local/include/signal.h:101:46: note: insert '_Nullable' if the pointer may be null npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:101:46: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:103:39: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! void psignal(unsigned int, const char *); npm ERR! ^ npm ERR! /usr/local/include/signal.h:103:39: note: insert '_Nullable' if the pointer may be null npm ERR! void psignal(unsigned int, const char *); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:103:39: note: insert '_Nonnull' if the pointer should never be null npm ERR! void psignal(unsigned int, const char *); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:106:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigvec(int, struct sigvec *, struct sigvec *); npm ERR! ^ npm ERR! /usr/local/include/signal.h:106:31: note: insert '_Nullable' if the pointer may be null npm ERR! int sigvec(int, struct sigvec *, struct sigvec *); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:106:31: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigvec(int, struct sigvec *, struct sigvec *); npm ERR! ^ npm ERR! _Nonnull npm ERR! /usr/local/include/signal.h:106:48: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] npm ERR! int sigvec(int, struct sigvec *, struct sigvec *); npm ERR! ^ npm ERR! /usr/local/include/signal.h:106:48: note: insert '_Nullable' if the pointer may be null npm ERR! int sigvec(int, struct sigvec *, struct sigvec *); npm ERR! ^ npm ERR! _Nullable npm ERR! /usr/local/include/signal.h:106:48: note: insert '_Nonnull' if the pointer should never be null npm ERR! int sigvec(int, struct sigvec *, struct sigvec *); npm ERR! ^ npm ERR! _Nonnull npm ERR! In file included from ../src/common.cc:25: npm ERR! In file included from /usr/local/include/vips/vips8:53: npm ERR! In file included from /usr/local/include/vips/VImage8.h:34: npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:245: npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error: no member named 'signbit' in the global namespace; did you mean 'sigwait'? npm ERR! using ::signbit; npm ERR! ~~^ npm ERR! /usr/local/include/signal.h:101:5: note: 'sigwait' declared here npm ERR! int sigwait(const sigset_t * __restrict, int * __restrict) __DARWIN_ALIAS_C(sigwait); npm ERR! ^ npm ERR! In file included from ../src/common.cc:25: npm ERR! In file included from /usr/local/include/vips/vips8:53: npm ERR! In file included from /usr/local/include/vips/VImage8.h:34: npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:245: npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error: no member named 'fpclassify' in the global namespace npm ERR! using ::fpclassify; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'? npm ERR! using ::isfinite; npm ERR! ~~^ npm ERR! /usr/local/include/math.h:752:12: note: 'finite' declared here npm ERR! extern int finite(double) npm ERR! ^ npm ERR! In file included from ../src/common.cc:25: npm ERR! In file included from /usr/local/include/vips/vips8:53: npm ERR! In file included from /usr/local/include/vips/VImage8.h:34: npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:245: npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error: no member named 'isinf' in the global namespace npm ERR! using ::isinf; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error: no member named 'isnan' in the global namespace npm ERR! using ::isnan; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'isnormal' in the global namespace npm ERR! using ::isnormal; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'? npm ERR! using ::isgreater; npm ERR! ^~ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:738:29: note: '::std::greater' declared here npm ERR! struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool> npm ERR! ^ npm ERR! In file included from ../src/common.cc:25: npm ERR! In file included from /usr/local/include/vips/vips8:53: npm ERR! In file included from /usr/local/include/vips/VImage8.h:34: npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:245: npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'? npm ERR! using ::isgreaterequal; npm ERR! ^~ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:767:29: note: '::std::greater_equal' declared here npm ERR! struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool> npm ERR! ^ npm ERR! In file included from ../src/common.cc:25: npm ERR! In file included from /usr/local/include/vips/vips8:53: npm ERR! In file included from /usr/local/include/vips/VImage8.h:34: npm ERR! In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:245: npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isless' in the global namespace npm ERR! using ::isless; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'islessequal' in the global namespace npm ERR! using ::islessequal; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error: no member named 'islessgreater' in the global namespace npm ERR! using ::islessgreater; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error: no member named 'isunordered' in the global namespace npm ERR! using ::isunordered; npm ERR! ~~^ npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isunordered' in the global namespace npm ERR! using ::isunordered; npm ERR! ~~^ npm ERR! 22 warnings and 13 errors generated. npm ERR! make: *** [Release/obj.target/sharp/src/common.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/Users/e071324/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:315:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) npm ERR! gyp ERR! System Darwin 20.3.0 npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/e071324/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /Users/e071324/.npm-global/lib/node_modules/turtle-cli/node_modules/sharp npm ERR! gyp ERR! node -v v14.16.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok |
Hi, it looks like there is an issue with npm@7.x.x. To give you more details.
|
stick with npm 6.14.13 as a work around. hopefully someone can fix this issue with npm 7.x.x at some point in the future so we can update to the latest version. |
The issue no longer persists on npm version 8.1.3. I think this issue can be closed now. |
Issue Description
I'm currently on turtle-cli 0.20.7. i'm upgrading to 0.21.0. I get the error "Unable to resolve dependency tree". It doesn't update to the latest. npm output is below.
Command executed
npm -g install turtle-cli
Complete output when running turtle, including the stack trace and command used
Here is the npm output when trying to upgrade.
Environment
The text was updated successfully, but these errors were encountered: