react-awesome-loaders: Cannot install due to dependency conflicts
npm ERR! make: *** [binding.target.mk:133: 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 (/workspace/CyberOniLLC-/node_modules/react-awesome-loaders/node_modules/node-gyp/lib/build.js:262:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.15.0-47-generic
npm ERR! gyp ERR! command “/home/gitpod/.nvm/versions/node/v16.19.0/bin/node” “/workspace/CyberOniLLC-/node_modules/react-awesome-loaders/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
npm ERR! gyp ERR! cwd /workspace/CyberOniLLC-/node_modules/react-awesome-loaders/node_modules/node-sass
npm ERR! gyp ERR! node -v v16.19.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
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/gitpod/.npm/_logs/2023-03-20T16_31_49_152Z-debug-0.log
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 15
- Comments: 18 (4 by maintainers)
I don’t think anyone is still using v12 for new projects. Very unfortunate, your loaders are sick but 90% of the people will not be able to use this. I mean I use NextJS and it requires a minimum node version of 18.17.0, so it’s impossible.
I will try in my free time.
@Suhail-007 @jnkstr Some of the packages are implemented keeping node v12 in mind. We need to have a look at it to see if we can upgrade. There may be some fixes to be done.
In the meantime, you can use nvm to use specific node version for particular project. It won’t affect other projects on your computer
Why do you not update to the latest node version. I mean we have v18 nowerdays.