Skip to content

Installing Swordfish Basic Web Client Ubuntu 20.4 Fails at "npm install" Step #42

@samuellay

Description

@samuellay

What versions of Ubuntu has the Swordfish-basic-web-client been tested on?
For that matter what is the preferred Linux distribution to run it on?

I am installing the basic web client on a Ubuntu 20.4 server.
node is v16.13.1
npm is 8.1.2
The pre-requisites were installed.
The "npm install" command failed. The log file is attached.
The first error is at line 6362 and is followed by many others.
Any tips?

Thanks, Sam

6358 info run [email protected] postinstall { code: 1, signal: null }
6359 timing reify:rollback:createSparse Completed in 3417ms
6360 timing reify:rollback:retireShallow Completed in 0ms
6361 timing command:install Completed in 195219ms
**6362 verbose stack Error: command failed**
6362 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
6362 verbose stack     at ChildProcess.emit (node:events:390:28)
6362 verbose stack     at maybeClose (node:internal/child_process:1064:16)
6362 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)**
6363 verbose pkgid [email protected]
6364 verbose cwd /home/itlay/node/Swordfish-basic-web-client-master/views
6365 verbose Linux 5.4.0-92-generic
6366 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
6367 verbose node v16.13.1
6368 verbose npm  v8.1.2
6369 error code 1
6370 error path /home/itlay/node/Swordfish-basic-web-client-master/views/node_modules/node-sass
6371 error command failed
6372 error command sh -c node scripts/build.js
6373 error Building: /usr/bin/node /home/itlay/node/Swordfish-basic-web-client-master/views/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
6373 error make: Entering directory '/home/itlay/node/Swordfish-basic-web-client-master/views/node_modules/node-sass/build'
6373 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' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/home/itlay/.node-gyp/16.13.1/include/node -I/home/itlay/.node-gyp/16.13.1/src -I/home/itlay/.node-gyp/16.13.1/deps/openssl/config -I/home/itlay/.node-gyp/16.13.1/deps/openssl/openssl/include -I/home/itlay/.node-gyp/16.13.1/deps/uv/include -I/home/itlay/.node-gyp/16.13.1/deps/zlib -I/home/itlay/.node-gyp/16.13.1/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -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
6373 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' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DLIBSASS_VERSION="3.5.5"' -I/home/itlay/.node-gyp/16.13.1/include/node -I/home/itlay/.node-gyp/16.13.1/src -I/home/itlay/.node-gyp/16.13.1/deps/openssl/config -I/home/itlay/.node-gyp/16.13.1/deps/openssl/openssl/include -I/home/itlay/.node-gyp/16.13.1/deps/uv/include -I/home/itlay/.node-gyp/16.13.1/deps/zlib -I/home/itlay/.node-gyp/16.13.1/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -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
6373 error   g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions