build-your-own-radar
build-your-own-radar copied to clipboard
npm install fails on node 16/17
trafficstars
Fails during gyp with a swath of warnings in libsass and the following error:
npm ERR! /Users/brian/.node-gyp/17.2.0/include/node/v8-internal.h:563:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
npm ERR! ~~~~~^~~~~~~~~~~
npm ERR! remove_cv
npm ERR! /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:710:50: note: 'remove_cv' declared here
npm ERR! template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
npm ERR! ^
npm ERR! 1 error generated.
Switching to node 14 build runs without a hitch and the app runs.
#237 once merged should address this
@xerofun this should now be resolved
@devansh-sharma-tw this should be able to be closed now