Error while setting node in backend in Old react

Hi Everyone,

I’m working on old react course on backend services module

Trying to install the vidly-api-node before running seed.js but ending up with below error message. tried all the sources. help is really appreciated.

  1. npm ERR! (__builtin_expect(!(e), 0) ? __assert_rtn(func, __ASSERT_FILE_NAME, LINE, #e) : (void)0)
  2. npm ERR! ^
  3. npm ERR! fatal error: too many errors emitted, stopping now [-ferror-limit=]
  4. npm ERR! 5 warnings and 20 errors generated.
  5. npm ERR! make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1
  6. npm ERR! gyp ERR! build error
  7. npm ERR! gyp ERR! stack Error: make failed with exit code: 2
  8. npm ERR! gyp ERR! stack at ChildProcess.onExitlib/build.js:201:23)
  9. npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
  10. npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
  11. npm ERR! gyp ERR! System Darwin 22.4.0
  12. npm ERR! gyp ERR! y-api-node/node_modules/bcrypt
  13. npm ERR! gyp ERR! node -v v18.13.0
  14. npm ERR! gyp ERR! node-gyp -v v9.1.0
  15. npm ERR! gyp ERR! not ok

TIA

regards,
Karthik N