build-your-own-radar icon indicating copy to clipboard operation
build-your-own-radar copied to clipboard

npm install fails on node 16/17

Open xerofun opened this issue 3 years ago • 2 comments
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.

xerofun avatar Dec 29 '21 14:12 xerofun

#237 once merged should address this

setchy avatar Feb 01 '22 10:02 setchy

@xerofun this should now be resolved

setchy avatar Feb 09 '22 11:02 setchy

@devansh-sharma-tw this should be able to be closed now

setchy avatar Apr 23 '23 10:04 setchy