Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

npm install fails #13

Open
RaedShabbir opened this issue Dec 10, 2021 · 0 comments
Open

npm install fails #13

RaedShabbir opened this issue Dec 10, 2021 · 0 comments

Comments

@RaedShabbir
Copy link

RaedShabbir commented Dec 10, 2021

Error logs below

`
5585 error 2 warnings generated.
5585 error In file included from ../src/libsass/src/sass_util.cpp:2:
5585 error In file included from ../src/libsass/src/node.hpp:7:
5585 error ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct]
5585 error for (const auto numerator : numerators)
5585 error ^
5585 error ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying
5585 error for (const auto numerator : numerators)
5585 error ^~~~~~~~~~~~~~~~~~~~~~
5585 error &
5585 error ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct]
5585 error for (const auto denominator : denominators)
5585 error ^
5585 error ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying
5585 error for (const auto denominator : denominators)
5585 error ^~~~~~~~~~~~~~~~~~~~~~~~
5585 error &
5585 error 2 warnings generated.

5585 error &
5585 error ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct]
5585 error for (const auto denominator : denominators)
5585 error ^
5585 error ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying
5585 error for (const auto denominator : denominators)
5585 error ^~~~~~~~~~~~~~~~~~~~~~~~
5585 error &
5585 error 2 warnings generated.
5585 error In file included from ../src/binding.cpp:1:
5585 error In file included from ../../nan/nan.h:56:
5585 error In file included from /Users/r/Library/Caches/node-gyp/17.2.0/include/node/node.h:63:
5585 error In file included from /Users/r/Library/Caches/node-gyp/17.2.0/include/node/v8.h:25:
5585 error In file included from /Users/r/Library/Caches/node-gyp/17.2.0/include/node/v8-array-buffer.h:12:
5585 error In file included from /Users/r/Library/Caches/node-gyp/17.2.0/include/node/v8-local-handle.h:12:
5585 error /Users/r/Library/Caches/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'?
5585 error !std::is_same<Data, std::remove_cv_t>::value>::Perform(data);
5585 error ~~~~~^~~~~~~~~~~
5585 error remove_cv
5585 error /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:710:50: note: 'remove_cv' declared here
5585 error template struct _LIBCPP_TEMPLATE_VIS remove_cv
5585 error ^
5585 error 1 error generated.
5585 error make: *** [Release/obj.target/binding/src/binding.o] Error 1
5585 error gyp ERR! build error
5585 error gyp ERR! stack Error: make failed with exit code: 2
5585 error gyp ERR! stack at ChildProcess.onExit (/Users/r/wip/jesse-trades-info/node_modules/node-gyp/lib/build.js:194:23)
5585 error gyp ERR! stack at ChildProcess.emit (node:events:390:28)
5585 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
5585 error gyp ERR! System Darwin 21.1.0
5585 error gyp ERR! command "/opt/homebrew/Cellar/node/17.2.0/bin/node" "/Users/r/wip/jesse-trades-info/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
5585 error gyp ERR! cwd /Users/r/wip/jesse-trades-info/node_modules/node-sass
5585 error gyp ERR! node -v v17.2.0
5585 error gyp ERR! node-gyp -v v7.1.2
5585 error gyp ERR! not ok
5585 error Build failed with error code: 1
5586 verbose exit 1
`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant