npm error code 1
npm error path /root/work/vue-idle-game/node_modules/node-sass
npm error command failed
npm error command sh -c node scripts/build.js
npm error Building: /usr/local/bin/node /root/work/vue-idle-game/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli '/usr/local/bin/node',
npm error gyp verb cli '/root/work/vue-idle-game/node_modules/node-gyp/bin/node-gyp.js',
npm error gyp verb cli 'rebuild',
npm error gyp verb cli '--verbose',
npm error gyp verb cli '--libsass_ext=',
npm error gyp verb cli '--libsass_cflags=',
npm error gyp verb cli '--libsass_ldflags=',
npm error gyp verb cli '--libsass_library='
npm error gyp verb cli ]
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | arm64
npm error gyp verb command rebuild []
npm error gyp verb command clean []
npm error gyp verb clean removing "build" directory
npm error gyp verb command configure []
npm error gyp verb check python checking for Python executable "python2" in the PATH
npm error gyp verb which
succeeded python2 /usr/bin/python2
npm error (node:24503) [DEP0060] DeprecationWarning: The util._extend
API is deprecated. Please use Object.assign() instead.
npm error (Use node --trace-deprecation ...
to show where the warning was created)
npm error gyp verb check python version /usr/bin/python2 -c "import sys; print "2.7.2 npm error gyp verb check python version .%s.%s" % sys.version_info[:3];"
returned: %j
npm error gyp verb get node dir no --target version specified, falling back to host node version: 22.2.0
npm error gyp verb command install [ '22.2.0' ]
npm error gyp verb install input version string "22.2.0"
npm error gyp verb install installing version: 22.2.0
npm error gyp verb install --ensure was passed, so won't reinstall if already installed
npm error (node:24503) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
npm error gyp verb install version is already installed, need to check "installVersion"
npm error gyp verb got "installVersion" 9
npm error gyp verb needs "installVersion" 9
npm error gyp verb install version is good
npm error gyp verb get node dir target node version installed: 22.2.0
npm error gyp verb build dir attempting to create "build" dir: /root/work/vue-idle-game/node_modules/node-sass/build
npm error gyp verb build dir "build" dir needed to be created? /root/work/vue-idle-game/node_modules/node-sass/build
npm error gyp verb build/config.gypi creating config file
npm error gyp verb build/config.gypi writing out config file: /root/work/vue-idle-game/node_modules/node-sass/build/config.gypi
npm error gyp verb config.gypi checking for gypi file: /root/work/vue-idle-game/node_modules/node-sass/config.gypi
npm error gyp verb common.gypi checking for gypi file: /root/work/vue-idle-game/node_modules/node-sass/common.gypi
npm error gyp verb gyp gyp format was not specified; forcing "make"
npm error gyp info spawn /usr/bin/python2
npm error gyp info spawn args [
npm error gyp info spawn args '/root/work/vue-idle-game/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/work/vue-idle-game/node_modules/node-sass/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/work/vue-idle-game/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/.node-gyp/22.2.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/22.2.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/root/work/vue-idle-game/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/22.2.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/root/work/vue-idle-game/node_modules/node-sass',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp: Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: gyp
failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.onCpExit (/root/work/vue-idle-game/node_modules/node-gyp/lib/configure.js:345:16)
npm error gyp ERR! stack at ChildProcess.emit (node:events:520:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Linux 5.15.49-linuxkit
npm error gyp ERR! command "/usr/local/bin/node" "/root/work/vue-idle-game/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm error gyp ERR! cwd /root/work/vue-idle-game/node_modules/node-sass
npm error gyp ERR! node -v v22.2.0
npm error gyp ERR! node-gyp -v v3.8.0
npm error gyp ERR! not ok
npm error Build failed with error code: 1