rollpkg
rollpkg copied to clipboard
[INSTALL] Impossible to install rollpkg package
Hi,
I try to create a package with your tool but I have an issue. Can you help me ? As I see, it is an issue with a deps node-sass. Maybe an update of your package.json should fix this.
Node Version -> v17.3.1
Package.json :
{
"name": "required-env",
"version": "1.0.0",
"description": "",
"main": "dist/<package-name>.cjs.js",
"module": "dist/<package-name>.esm.js",
"types": "dist/index.d.ts",
"sideEffects": "false",
"scripts": {
"build": "pnpm exec rollpkg build",
"watch": "pnpm exec rollpkg watch",
"prepublishOnly": "pnpm run lint && pnpm test && pnpm run build",
"lint": "pnpm exec eslint src",
"test": "pnpm exec jest",
"test:watch": "pnpm exec jest --watchAll",
"coverage": "pnpm exec live-server coverage/lcov-report"
},
"author": "",
"license": "ISC",
"files": [
"dist"
],
"devDependencies": {
"eslint": "^8.6.0",
"jest": "^27.4.7",
"live-server": "^1.2.1",
"rollpkg": "^0.5.7",
"typescript": "^4.5.4"
},
"prettier": "rollpkg/configs/prettier.json",
"eslintConfig": {
"extends": [
"./node_modules/rollpkg/configs/eslint"
]
},
"jest": {
"preset": "rollpkg"
}
}
Install log :
➜ required-env git:(master) ✗ pnpm install
Packages: +1617
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /home/quentin/.pnpm-store/v3
Virtual store is at: node_modules/.pnpm
Progress: resolved 1634, reused 1615, downloaded 0, added 1617, done
node_modules/.pnpm/[email protected]/node_modules/core-js-pure: Running postinstall script, done in 74ms
node_modules/.pnpm/[email protected]/node_modules/core-js: Running postinstall script, done in 73ms
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 77ms
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 93ms
node_modules/.pnpm/[email protected]/node_modules/node-sass: Running install script, done in 584ms
node_modules/.pnpm/[email protected]/node_modules/node-sass: Running postinstall script, failed in 1m 18.5s
.../node_modules/node-sass postinstall$ node scripts/build.js
│ Building: /home/quentin/.fnm/node-versions/v17.3.1/installation/bin/node /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/n
│ gyp info it worked if it ends with ok
│ gyp verb cli [
│ gyp verb cli '/home/quentin/.fnm/node-versions/v17.3.1/installation/bin/node',
│ gyp verb cli '/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-gyp/bin/node-gyp.js',
│ gyp verb cli 'rebuild',
│ gyp verb cli '--verbose',
│ gyp verb cli '--libsass_ext=',
│ gyp verb cli '--libsass_cflags=',
│ gyp verb cli '--libsass_ldflags=',
│ gyp verb cli '--libsass_library='
│ gyp verb cli ]
│ gyp info using [email protected]
│ gyp info using [email protected] | linux | x64
│ gyp verb command rebuild []
│ gyp verb command clean []
│ gyp verb clean removing "build" directory
│ gyp verb command configure []
│ gyp verb check python checking for Python executable "python2" in the PATH
│ gyp verb `which` failed Error: not found: python2
│ gyp verb `which` failed at getNotFoundError (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:13:12)
│ gyp verb `which` failed at F (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:68:19)
│ gyp verb `which` failed at E (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:80:29)
│ gyp verb `which` failed at /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:89:16
│ gyp verb `which` failed at /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/isexe/index.js:42:5
│ gyp verb `which` failed at /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/isexe/mode.js:8:5
│ gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
│ gyp verb `which` failed python2 Error: not found: python2
│ gyp verb `which` failed at getNotFoundError (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:13:12)
│ gyp verb `which` failed at F (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:68:19)
│ gyp verb `which` failed at E (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:80:29)
│ gyp verb `which` failed at /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/which/which.js:89:16
│ gyp verb `which` failed at /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/isexe/index.js:42:5
│ gyp verb `which` failed at /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/isexe/mode.js:8:5
│ gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
│ gyp verb `which` failed code: 'ENOENT'
│ gyp verb `which` failed }
│ gyp verb check python checking for Python executable "python" in the PATH
│ gyp verb `which` succeeded python /usr/bin/python
│ gyp verb check python version `/usr/bin/python -c "import sys; print "2.7.18
│ gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
│ gyp verb get node dir no --target version specified, falling back to host node version: 17.3.1
│ gyp verb command install [ '17.3.1' ]
│ gyp verb install input version string "17.3.1"
│ gyp verb install installing version: 17.3.1
│ gyp verb install --ensure was passed, so won't reinstall if already installed
│ gyp verb install version is already installed, need to check "installVersion"
│ gyp verb got "installVersion" 9
│ gyp verb needs "installVersion" 9
│ gyp verb install version is good
│ gyp verb get node dir target node version installed: 17.3.1
│ gyp verb build dir attempting to create "build" dir: /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/build
│ gyp verb build dir "build" dir needed to be created? /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/build
│ gyp verb build/config.gypi creating config file
│ gyp verb build/config.gypi writing out config file: /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/build/conf
│ (node:36928) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
│ (Use `node --trace-deprecation ...` to show where the warning was created)
│ gyp verb config.gypi checking for gypi file: /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/config.gypi
│ gyp verb common.gypi checking for gypi file: /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/common.gypi
│ gyp verb gyp gyp format was not specified; forcing "make"
│ gyp info spawn /usr/bin/python
│ gyp info spawn args [
│ gyp info spawn args '/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-gyp/gyp/gyp_main.py',
│ gyp info spawn args 'binding.gyp',
│ gyp info spawn args '-f',
│ gyp info spawn args 'make',
│ gyp info spawn args '-I',
│ gyp info spawn args '/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/build/config.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args '/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-gyp/addon.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args '/home/quentin/.node-gyp/17.3.1/include/node/common.gypi',
│ gyp info spawn args '-Dlibrary=shared_library',
│ gyp info spawn args '-Dvisibility=default',
│ gyp info spawn args '-Dnode_root_dir=/home/quentin/.node-gyp/17.3.1',
│ gyp info spawn args '-Dnode_gyp_dir=/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-gyp',
│ gyp info spawn args '-Dnode_lib_file=/home/quentin/.node-gyp/17.3.1/<(target_arch)/node.lib',
│ gyp info spawn args '-Dmodule_root_dir=/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass',
│ gyp info spawn args '-Dnode_engine=v8',
│ gyp info spawn args '--depth=.',
│ gyp info spawn args '--no-parallel',
│ gyp info spawn args '--generator-output',
│ gyp info spawn args 'build',
│ gyp info spawn args '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp verb command build []
│ gyp verb build type Release
│ gyp verb architecture x64
│ gyp verb node dev dir /home/quentin/.node-gyp/17.3.1
│ gyp verb `which` succeeded for `make` /usr/bin/make
│ gyp info spawn make
│ gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
│ make: Entering directory '/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/build'
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/ast.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/ast_fwd_decl.cpp:1:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/bind.cpp:3:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ cc '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECA
│ ../src/libsass/src/cencode.c: In function ‘base64_encode_block’:
│ ../src/libsass/src/cencode.c:48:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
│ 48 | result = (fragment & 0x003) << 4;
│ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/libsass/src/cencode.c:52:9: note: here
│ 52 | case step_B:
│ | ^~~~
│ ../src/libsass/src/cencode.c:62:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
│ 62 | result = (fragment & 0x00f) << 2;
│ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/libsass/src/cencode.c:66:9: note: here
│ 66 | case step_C:
│ | ^~~~
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/check_nesting.hpp:4,
│ from ../src/libsass/src/check_nesting.cpp:4:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/color_maps.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/context.cpp:9:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/cssize.hpp:4,
│ from ../src/libsass/src/cssize.cpp:6:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/environment.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/error_handling.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/eval.hpp:4,
│ from ../src/libsass/src/eval.cpp:10:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/expand.cpp:5:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/extend.hpp:7,
│ from ../src/libsass/src/extend.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/listize.hpp:7,
│ from ../src/libsass/src/functions.hpp:4,
│ from ../src/libsass/src/sass_functions.hpp:6,
│ from ../src/libsass/src/file.cpp:23:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/listize.hpp:7,
│ from ../src/libsass/src/functions.hpp:4,
│ from ../src/libsass/src/functions.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ ../src/libsass/src/functions.cpp: In function ‘void Sass::Functions::handle_utf8_error(const Sass::ParserState&, Sass::Backtraces)’:
│ ../src/libsass/src/functions.cpp:110:20: warning: catching polymorphic type ‘class utf8::invalid_code_point’ by value [-Wcatch-value=]
│ 110 | catch (utf8::invalid_code_point) {
│ | ^~~~~~~~~~~~~~~~~~
│ ../src/libsass/src/functions.cpp:114:20: warning: catching polymorphic type ‘class utf8::not_enough_room’ by value [-Wcatch-value=]
│ 114 | catch (utf8::not_enough_room) {
│ | ^~~~~~~~~~~~~~~
│ ../src/libsass/src/functions.cpp:118:20: warning: catching polymorphic type ‘class utf8::invalid_utf8’ by value [-Wcatch-value=]
│ 118 | catch (utf8::invalid_utf8) {
│ | ^~~~~~~~~~~~
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/inspect.cpp:9:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ ../src/libsass/src/json.cpp: In function ‘char* json_encode_string(const char*)’:
│ ../src/libsass/src/json.cpp:405:15: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
│ 405 | catch (std::exception) {
│ | ^~~~~~~~~
│ ../src/libsass/src/json.cpp: In function ‘char* json_stringify(const JsonNode*, const char*)’:
│ ../src/libsass/src/json.cpp:424:15: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
│ 424 | catch (std::exception) {
│ | ^~~~~~~~~
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/listize.hpp:7,
│ from ../src/libsass/src/listize.cpp:6:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/node.hpp:7,
│ from ../src/libsass/src/node.cpp:4:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/values.hpp:4,
│ from ../src/libsass/src/operators.hpp:4,
│ from ../src/libsass/src/operators.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/output.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/parser.hpp:7,
│ from ../src/libsass/src/parser.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/remove_placeholders.hpp:6,
│ from ../src/libsass/src/remove_placeholders.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/listize.hpp:7,
│ from ../src/libsass/src/functions.hpp:4,
│ from ../src/libsass/src/sass_functions.hpp:6,
│ from ../src/libsass/src/sass.cpp:11:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/sass_context.cpp:9:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/values.hpp:4,
│ from ../src/libsass/src/sass_functions.cpp:5:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/node.hpp:7,
│ from ../src/libsass/src/sass_util.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/eval.hpp:4,
│ from ../src/libsass/src/sass_values.cpp:5:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/source_map.cpp:7:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/subset_map.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/to_c.cpp:3:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/to_value.cpp:2:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/util.cpp:3:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from ../src/libsass/src/values.hpp:4,
│ from ../src/libsass/src/values.cpp:3:
│ ../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Number::hash()’:
│ ../src/libsass/src/ast.hpp:1614:25: warning: loop variable ‘numerator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct]
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ ../src/libsass/src/ast.hpp:1614:25: note: use reference type to prevent copying
│ 1614 | for (const auto numerator : numerators)
│ | ^~~~~~~~~
│ | &
│ ../src/libsass/src/ast.hpp:1616:25: warning: loop variable ‘denominator’ creates a copy from type ‘const std::__cxx11::basic_string<char>’ [-Wrange-loop-construct
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ ../src/libsass/src/ast.hpp:1616:25: note: use reference type to prevent copying
│ 1616 | for (const auto denominator : denominators)
│ | ^~~~~~~~~~~
│ | &
│ rm -f Release/obj.target/src/sass.a && ar crs Release/obj.target/src/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libs
│ rm -rf "Release/sass.a" && cp -af "Release/obj.target/src/sass.a" "Release/sass.a"
│ g++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPREC
│ In file included from /home/quentin/.node-gyp/17.3.1/include/node/v8-local-handle.h:12,
│ from /home/quentin/.node-gyp/17.3.1/include/node/v8-array-buffer.h:12,
│ from /home/quentin/.node-gyp/17.3.1/include/node/v8.h:25,
│ from /home/quentin/.node-gyp/17.3.1/include/node/node.h:63,
│ from ../../../../[email protected]/node_modules/nan/nan.h:58,
│ from ../src/binding.cpp:1:
│ /home/quentin/.node-gyp/17.3.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
│ /home/quentin/.node-gyp/17.3.1/include/node/v8-internal.h:563:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
│ 563 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│ | ^~~~~~~~~~~
│ | remove_cv
│ /home/quentin/.node-gyp/17.3.1/include/node/v8-internal.h:563:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
│ 563 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│ | ^~~~~~~~~~~
│ | remove_cv
│ /home/quentin/.node-gyp/17.3.1/include/node/v8-internal.h:563:50: error: template argument 2 is invalid
│ 563 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│ | ^
│ /home/quentin/.node-gyp/17.3.1/include/node/v8-internal.h:563:63: error: ‘::Perform’ has not been declared
│ 563 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
│ | ^~~~~~~
│ ../src/binding.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE render(Nan::NAN_METHOD_ARGS_TYPE)’:
│ ../src/binding.cpp:284:80: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘
│ 284 | int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ ../src/binding.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE render_file(Nan::NAN_METHOD_ARGS_TYPE)’:
│ ../src/binding.cpp:320:80: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘
│ 320 | int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ In file included from ../../../../[email protected]/node_modules/nan/nan.h:58,
│ from ../src/binding.cpp:1:
│ ../src/binding.cpp: At global scope:
│ /home/quentin/.node-gyp/17.3.1/include/node/node.h:843:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)
│ 843 | (node::addon_register_func) (regfunc), \
│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ /home/quentin/.node-gyp/17.3.1/include/node/node.h:877:3: note: in expansion of macro ‘NODE_MODULE_X’
│ 877 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
│ | ^~~~~~~~~~~~~
│ ../src/binding.cpp:358:1: note: in expansion of macro ‘NODE_MODULE’
│ 358 | NODE_MODULE(binding, RegisterModule);
│ | ^~~~~~~~~~~
│ make: *** [binding.target.mk:133: Release/obj.target/binding/src/binding.o] Error 1
│ make: Leaving directory '/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass/build'
│ gyp ERR! build error
│ gyp ERR! stack Error: `make` failed with exit code: 2
│ gyp ERR! stack at ChildProcess.onExit (/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-gyp/lib/build.js:262:23)
│ gyp ERR! stack at ChildProcess.emit (node:events:390:28)
│ gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
│ gyp ERR! System Linux 5.15.11-76051511-generic
│ gyp ERR! command "/home/quentin/.fnm/node-versions/v17.3.1/installation/bin/node" "/home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node
│ gyp ERR! cwd /home/quentin/Documents/dev/required-env/node_modules/.pnpm/[email protected]/node_modules/node-sass
│ gyp ERR! node -v v17.3.1
│ gyp ERR! node-gyp -v v3.8.0
│ gyp ERR! not ok
│ Build failed with error code: 1
└─ Failed in 1m 18.5s
ELIFECYCLE Command failed with exit code 1.
Hi, node-sass is a dependency of package-build-stats (which is the core of Bundlephobia stats), so this looks like an upstream issue. Please open an issue in package-build-stats, and link to it here, thanks. There's another issue (#17) with package-build-stats not supporting latest LTS, so I may have to remove the Bundlephobia stats if it's not fixed upstream. It should work with node v14 and npm v7 as a temporary workaround.