Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

npm install error #32

Open
SkyN opened this issue Jun 27, 2024 · 0 comments
Open

npm install error #32

SkyN opened this issue Jun 27, 2024 · 0 comments

Comments

@SkyN
Copy link

SkyN commented Jun 27, 2024

After running vue init YuraDev/vue-chrome-extension-template, when I call npm install, I get the following error:

...
8511 verbose stack Error: command failed
8511 verbose stack     at ChildProcess.<anonymous> (/usr/share/nodejs/@npmcli/promise-spawn/lib/index.js:53:27)
8511 verbose stack     at ChildProcess.emit (node:events:513:28)
8511 verbose stack     at maybeClose (node:internal/child_process:1091:16)
8511 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
8512 verbose pkgid [email protected]
8513 verbose cwd /home/alex/vfsglobal/visa-ticket
8514 verbose Linux 6.5.0-41-generic
8515 verbose node v18.13.0
8516 verbose npm  v9.2.0
8521 error   g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DLIBSASS_VERSION="3.5.5"' -I/home/alex/.node-gyp/18.13.0/include/node -I/home/alex/.node-gyp/18.13.0/src -I/home/alex/.node-gyp/18.13.0/deps/openssl/config -I/home/alex/.node-gyp/18.13.0/deps/openssl/openssl/include -I/home/alex/.node-gyp/18.13.0/deps/uv/include -I/home/alex/.node-gyp/18.13.0/deps/zlib -I/home/alex/.node-gyp/18.13.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -std=gnu++17 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/backtrace.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/backtrace.o ../src/libsass/src/backtrace.cpp
8517 error code 1
8518 error path /home/alex/vfsglobal/visa-ticket/node_modules/node-sass
8519 error command failed
8520 error command sh -c node scripts/build.js
8521 error Building: /usr/bin/node /home/alex/vfsglobal/visa-ticket/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
8521 error make: Entering directory '/home/alex/vfsglobal/visa-ticket/node_modules/node-sass/build'
8521 error   g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DLIBSASS_VERSION="3.5.5"' -I/home/alex/.node-gyp/18.13.0/include/node -I/home/alex/.node-gyp/18.13.0/src -I/home/alex/.node-gyp/18.13.0/deps/openssl/config -I/home/alex/.node-gyp/18.13.0/deps/openssl/openssl/include -I/home/alex/.node-gyp/18.13.0/deps/uv/include -I/home/alex/.node-gyp/18.13.0/deps/zlib -I/home/alex/.node-gyp/18.13.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -std=gnu++17 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
8521 error   g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DLIBSASS_VERSION="3.5.5"' -I/home/alex/.node-gyp/18.13.0/include/node -I/home/alex/.node-gyp/18.13.0/src -I/home/alex/.node-gyp/18.13.0/deps/openssl/config -I/home/alex/.node-gyp/18.13.0/deps/openssl/openssl/include -I/home/alex/.node-gyp/18.13.0/deps/uv/include -I/home/alex/.node-gyp/18.13.0/deps/zlib -I/home/alex/.node-gyp/18.13.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -std=gnu++17 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o ../src/libsass/src/ast_fwd_decl.cpp
8521 error   g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DLIBSASS_VERSION="3.5.5"' -I/home/alex/.node-gyp/18.13.0/include/node -I/home/alex/.node-gyp/18.13.0/src -I/home/alex/.node-gyp/18.13.0/deps/openssl/config -I/home/alex/.node-gyp/18.13.0/deps/openssl/openssl/include -I/home/alex/.node-gyp/18.13.0/deps/uv/include -I/home/alex/.node-gyp/18.13.0/deps/zlib -I/home/alex/.node-gyp/18.13.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -std=gnu++17 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/base64vlq.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/base64vlq.o ../src/libsass/src/base64vlq.cpp

...

Full log: 2024-06-27T10_15_36_837Z-debug-0.log

What could it be?

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

No branches or pull requests

1 participant