vue-funnel-graph-js
vue-funnel-graph-js copied to clipboard
Can we switch from node-sass to sass?
I can't install the library, I've been solving one error after the other and they're all related to node-sass. I'm on Node 16 and this is the last error I got, first one was complaining that python2 didn't exist
npm ERR! code 1
npm ERR! path /Users/god/code/testi/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh /var/folders/bj/83wxx7kx22z4jg1zfzprpmrw0000gn/T/postinstall-d6d13986.sh
npm ERR! Building: /Users/god/.nvm/versions/node/v16.13.1/bin/node /Users/god/code/testi/node_modules/node-gyp/bin/node-TRUNCATED FOR BODY LENGTH LIMIT
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:715:50: note: 'remove_cv' declared here
npm ERR! template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
npm ERR! ^
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/binding/src/binding.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/god/code/testi/node_modules/node-gyp/lib/build.js:262:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command "/Users/god/.nvm/versions/node/v16.13.1/bin/node" "/Users/god/code/testi/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /Users/god/code/testi/node_modules/node-sass
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1
hi, were you able to solve it?
what solution is there?