You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trouble with npm install with portfolio.
For the previous projects I didn't have any issues.
How i did it
Cloned the repo
npm install
What i allready tried
clone again
reinstall Xcode
Hope you can help me out so that i can finish your book!
Cheers,
Thijs
I go the following error message:
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/file.cpp:23:
npm ERR! In file included from ../src/libsass/src/sass_functions.hpp:6:
npm ERR! In file included from ../src/libsass/src/functions.hpp:4:
npm ERR! In file included from ../src/libsass/src/listize.hpp:7:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/functions.cpp:2:
npm ERR! In file included from ../src/libsass/src/functions.hpp:4:
npm ERR! In file included from ../src/libsass/src/listize.hpp:7:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/inspect.cpp:9:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/listize.cpp:6:
npm ERR! In file included from ../src/libsass/src/listize.hpp:7:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/node.cpp:4:
npm ERR! In file included from ../src/libsass/src/node.hpp:7:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/output.cpp:2:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/parser.cpp:2:
npm ERR! In file included from ../src/libsass/src/parser.hpp:7:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/remove_placeholders.cpp:2:
npm ERR! In file included from ../src/libsass/src/remove_placeholders.hpp:6:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/libsass/src/sass.cpp:11:
npm ERR! In file included from ../src/libsass/src/sass_functions.hpp:6:
npm ERR! In file included from ../src/libsass/src/functions.hpp:4:
npm ERR! In file included from ../src/libsass/src/listize.hpp:7:
npm ERR! ../src/libsass/src/ast.hpp:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
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:1627:25: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1627:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto numerator : numerator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! ../src/libsass/src/ast.hpp:1629:25: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char>' [-Wrange-loop-construct]
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^
npm ERR! ../src/libsass/src/ast.hpp:1629:14: note: use reference type 'const std::__1::basic_string<char> &' to prevent copying
npm ERR! for (const auto denominator : denominator_units())
npm ERR! ^~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! &
npm ERR! 2 warnings generated.
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:192:
npm ERR! ../../nan/nan_maybe_43_inl.h:112:15: error: no member named 'ForceSet' in 'v8::Object'
npm ERR! return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
npm ERR! ~~~~~^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:197:
npm ERR! In file included from ../../nan/nan_converters.h:67:
npm ERR! ../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
npm ERR! X(Boolean)
npm ERR! ^
npm ERR! ../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
npm ERR! val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \
npm ERR! ^
npm ERR! <scratch space>:226:1: note: expanded from here
npm ERR! ToBoolean
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:2663:3: note: 'ToBoolean' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:197:
npm ERR! In file included from ../../nan/nan_converters.h:67:
npm ERR! ../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
npm ERR! X(bool, Boolean)
npm ERR! ^
npm ERR! ../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
npm ERR! return val->NAME ## Value(isolate->GetCurrentContext()); \
npm ERR! ^
npm ERR! <scratch space>:233:1: note: expanded from here
npm ERR! BooleanValue
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:2701:3: note: 'BooleanValue' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:198:
npm ERR! In file included from ../../nan/nan_new.h:189:
npm ERR! ../../nan/nan_implementation_12_inl.h:103:42: error: no viable conversion from 'v8::Isolate *' to 'Local<v8::Context>'
npm ERR! return scope.Escape(v8::Function::New( isolate
npm ERR! ^~~~~~~
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:186:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Isolate *' to 'const v8::Local<v8::Context> &' for 1st argument
npm ERR! class Local {
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:186:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Isolate *' to 'v8::Local<v8::Context> &&' for 1st argument
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:190:13: note: candidate template ignored: could not match 'Local<type-parameter-0-0>' against 'v8::Isolate *'
npm ERR! V8_INLINE Local(Local<S> that)
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:318:22: note: explicit constructor is not a candidate
npm ERR! explicit V8_INLINE Local(T* that) : val_(that) {}
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:4276:22: note: passing argument to parameter 'context' here
npm ERR! Local<Context> context, FunctionCallback callback,
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:198:
npm ERR! In file included from ../../nan/nan_new.h:189:
npm ERR! ../../nan/nan_implementation_12_inl.h:337:37: error: too few arguments to function call, expected 2, have 1
npm ERR! return v8::StringObject::New(value).As<v8::StringObject>();
npm ERR! ~~~~~~~~~~~~~~~~~~~~~ ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:5531:23: note: 'New' declared here
npm ERR! static Local<Value> New(Isolate* isolate, Local<String> value);
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:834:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR! return node::MakeCallback(
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR! __attribute__((deprecated(message))) declarator
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:849:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR! return node::MakeCallback(
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:166:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR! __attribute__((deprecated(message))) declarator
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:864:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR! return node::MakeCallback(
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:159:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR! __attribute__((deprecated(message))) declarator
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:911:44: error: no matching member function for call to 'ToString'
npm ERR! v8::Local<v8::String> string = from->ToString();
npm ERR! ~~~~~~^~~~~~~~
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:2668:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
npm ERR! V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:2684:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
npm ERR! Local<String> ToString(Isolate* isolate) const);
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:921:37: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type 'char *'
npm ERR! length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
npm ERR! ^~~~
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:2878:26: note: passing argument to parameter 'isolate' here
npm ERR! int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
npm ERR! return scope.Escape(node::MakeCallback(
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:173:1: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR! NODE_DEPRECATED("Use MakeCallback(..., async_context)",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/node.h:93:20: note: expanded from macro 'NODE_DEPRECATED'
npm ERR! __attribute__((deprecated(message))) declarator
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1533:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1539:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! New(persistentHandle)->Set(key, value);
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1545:28: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! New(persistentHandle)->Set(index, value);
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3507:3: note: 'Set' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1551:32: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! New(persistentHandle)->Get(New(key).ToLocalChecked()));
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3553:3: note: 'Get' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1557:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! return scope.Escape(New(persistentHandle)->Get(key));
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3553:3: note: 'Get' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1562:48: warning: 'Get' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! return scope.Escape(New(persistentHandle)->Get(index));
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3557:3: note: 'Get' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:2222:
npm ERR! ../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object>'
npm ERR! assert(persistent().IsNearDeath());
npm ERR! ~~~~~~~~~~~~ ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
npm ERR! (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:2222:
npm ERR! ../../nan/nan_object_wrap.h:67:18: warning: 'MarkIndependent' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
npm ERR! persistent().MarkIndependent();
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:566:3: note: 'MarkIndependent' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED(
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! In file included from ../../nan/nan.h:2222:
npm ERR! ../../nan/nan_object_wrap.h:124:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object>'
npm ERR! assert(wrap->handle_.IsNearDeath());
npm ERR! ~~~~~~~~~~~~~ ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
npm ERR! (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
npm ERR! ^
npm ERR! In file included from ../src/binding.cpp:1:
npm ERR! ../../nan/nan.h:1902:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! recv->Set(name, GetFunction(tpl).ToLocalChecked());
npm ERR! ^
npm ERR! ../../nan/nan.h:1918:8: note: in instantiation of function template specialization 'Nan::imp::SetMethodAux<v8::Local<v8::Object>>' requested here
npm ERR! imp::SetMethodAux(recv, fn_name, t, static_cast<T*>(0));
npm ERR! ^
npm ERR! ../src/binding.cpp:335:8: note: in instantiation of function template specialization 'Nan::SetMethod<v8::Object, Local>' requested here
npm ERR! Nan::SetMethod(target, "render", render);
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8.h:3498:3: note: 'Set' has been explicitly marked deprecated here
npm ERR! V8_DEPRECATED("Use maybe version",
npm ERR! ^
npm ERR! /Users/thijs/.node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
npm ERR! declarator __attribute__((deprecated(message)))
npm ERR! ^
npm ERR! 14 warnings and 7 errors 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/thijs/Documents/VS/tutorials_angular/portfolio/node_modules/node-gyp/lib/build.js:258:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:311:20)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
npm ERR! gyp ERR! System Darwin 20.6.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/thijs/Documents/VS/tutorials_angular/portfolio/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /Users/thijs/Documents/VS/tutorials_angular/portfolio/node_modules/node-sass
npm ERR! gyp ERR! node -v v12.16.1
npm ERR! gyp ERR! node-gyp -v v3.6.2
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1
The text was updated successfully, but these errors were encountered:
Hi @Tiedje did you install using npm ci to use the NPM shrinkwraped dependencies or did you run an install that also updated dependencies? It seems your dependency chain is not getting setup the same way as the original project.
You can also try to install a fresh copy, by deleting the npm-shrinkwrap.json file, deleting the node_modules and doing a npm install to have the dependencies install and potentially update to more compatible versions.
He!
I have trouble with npm install with portfolio.
For the previous projects I didn't have any issues.
How i did it
What i allready tried
Hope you can help me out so that i can finish your book!
Cheers,
Thijs
I go the following error message:
The text was updated successfully, but these errors were encountered: