sudo yarn install fails with
⤠YN0009: ā node-sass@npm:4.14.1 couldnāt be built successfully (exit code 1, logs can be found here: /tmp/xfs-16ea10f2/build.log)
⤠YN0000: ā Completed in 1m 21s
the end of /tmp/xfs-16ea10f2/build.log=
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/onyx/htdocs/sites/myproject/sylius/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (node:events:526:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.17.1-zen1-1-zen
gyp ERR! command ā/usr/local/bin/nodeā ā/home/onyx/htdocs/sites/myproject/sylius/node_modules/node-gyp/bin/node-gyp.jsā ārebuildā āāverboseā āālibsass_ext=ā āālibsass_cflags=ā āālibsass_ldflags=ā āālibsass_library=ā
gyp ERR! cwd /home/onyx/htdocs/sites/myproject/sylius/node_modules/node-sass
gyp ERR! node -v v16.14.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
On Archlinux 64 bit, current.
Following your advice:
npm install sass gulp-sass --save-dev
worksā¦then:
ā¦
YN0000: ā Completed in 0s 720ms
⤠YN0000: ā Link step
⤠YN0000: ā Completed in 0s 748ms
⤠YN0000: Done with warnings in 8s 217ms
[onyx@onyx-pc sylius]$ sudo yarn build
Usage Error: Couldnāt find a script named ābuildā.
$ yarn run [āinspect] [āinspect-brk] [-T,ātop-level] [-B,ābinaries-only] ā¦
any idea what happened to build?