Welcome to the Linux Foundation Forum!

nsd-check script not working on windows 11

In the "Creating a Web Server" "Creating a Web Server with Node Core (2)" page we are required to run "npm nsd-check" but it does not run successfully on my machine:

  1. Edition Windows 11 Pro
  2. Version 23H2
  3. OS build 22631.3958
  4. Experience Windows Feature Experience Pack 1000.22700.1026.0
  5.  

Error:

  1. npx nsd-check
  2. running `npm start` in current working directory (stdio:'inherit'):
  3. node:internal/child_process:421
  4. throw new ErrnoException(err, 'spawn');
  5. ^
  6. Error: spawn EINVAL
  7. at ChildProcess.spawn (node:internal/child_process:421:11)
  8. at spawn (node:child_process:761:9)
  9. at startServer (file:///..replace_with_path_to_project../node_modules/nsd-check/index.js:25:18)
  10. at file:///..replace_with_path_to_project../node_modules/nsd-check/bin.js:3:1
  11. at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  12. errno: -4071,
  13. code: 'EINVAL',
  14. syscall: 'spawn'
  15. }

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training