Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install the package #113

Open
sonydaman opened this issue Jul 27, 2022 · 0 comments
Open

unable to install the package #113

sonydaman opened this issue Jul 27, 2022 · 0 comments

Comments

@sonydaman
Copy link

sonydaman commented Jul 27, 2022

^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/sass_context.cpp:9: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/sass_functions.cpp:5: npm ERR! In file included from ../src/libsass/src/values.hpp:4: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/sass_util.cpp:2: npm ERR! In file included from ../src/libsass/src/node.hpp:7: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/sass_values.cpp:5: npm ERR! In file included from ../src/libsass/src/eval.hpp:4: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/source_map.cpp:7: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/subset_map.cpp:2: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/to_c.cpp:3: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/to_value.cpp:2: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/util.cpp:3: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! In file included from ../src/libsass/src/values.cpp:3: npm ERR! In file included from ../src/libsass/src/values.hpp:4: npm ERR! ../src/libsass/src/ast.hpp:1614:25: warning: loop variable 'numerator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto numerator : numerators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1614:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto numerator : numerators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! ../src/libsass/src/ast.hpp:1616:25: warning: loop variable 'denominator' creates a copy from type 'const std::string' [-Wrange-loop-construct] npm ERR! for (const auto denominator : denominators) npm ERR! ^ npm ERR! ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::string &' to prevent copying npm ERR! for (const auto denominator : denominators) npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! & npm ERR! 2 warnings generated. npm ERR! env: python: No such file or directory npm ERR! make: *** [Release/sass.a] Error 127 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 )
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 21.5.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/sonydaman/web-app/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /Users/sonydaman/web-app/node_modules/node-sass
npm ERR! gyp ERR! node -v v18.6.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sonydaman/.npm/_logs/2022-07-27T21_02_51_729Z-debug-0.log`

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

No branches or pull requests

1 participant