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 fails on the v4 branch #1252

Open
lahwaacz opened this issue May 19, 2023 · 0 comments
Open

npm install fails on the v4 branch #1252

lahwaacz opened this issue May 19, 2023 · 0 comments

Comments

@lahwaacz
Copy link

Following the customization steps on the v4 branch, I get a long error message from npm install due to the node-sass module which was replaced by sass in the v5 branch. Should it be backported to the v4 branch?

npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm ERR! code 1
npm ERR! path /home/lahwaacz/Bbox/pg/cuda/tnl_subprojects/bootswatch/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c -- node scripts/build.js
npm ERR! Building: /usr/bin/node /home/lahwaacz/Bbox/pg/cuda/tnl_subprojects/bootswatch/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! make: Entering directory '/home/lahwaacz/Bbox/pg/cuda/tnl_subprojects/bootswatch/node_modules/node-sass/build'
[snip]
npm ERR! make: *** [binding.target.mk:129: Release/obj.target/binding/src/create_string.o] Error 1
npm ERR! make: *** Waiting for unfinished jobs....
npm ERR! make: *** [binding.target.mk:129: Release/obj.target/binding/src/custom_importer_bridge.o] Error 1
npm ERR! make: *** [binding.target.mk:129: Release/obj.target/binding/src/sass_types/boolean.o] Error 1
npm ERR! make: *** [binding.target.mk:129: Release/obj.target/binding/src/sass_context_wrapper.o] Error 1
npm ERR! make: *** [binding.target.mk:129: Release/obj.target/binding/src/custom_function_bridge.o] Error 1
npm ERR! make: *** [binding.target.mk:129: 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 (/home/lahwaacz/Bbox/pg/cuda/tnl_subprojects/bootswatch/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:511:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 6.3.1-arch2-1
npm ERR! gyp ERR! command "/usr/bin/node" "/home/lahwaacz/Bbox/pg/cuda/tnl_subprojects/bootswatch/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /home/lahwaacz/Bbox/pg/cuda/tnl_subprojects/bootswatch/node_modules/node-sass
npm ERR! gyp ERR! node -v v20.2.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok 
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/lahwaacz/.npm/_logs/2023-05-19T19_30_04_711Z-debug-0.log
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