Welcome to the Linux Foundation Forum!

Lab 16.1 validate.js not working as expected on windows

The spawned child process in validate.js not able to read status of 'npm test' on **windows **

After digging into it, I found out that some spawn child process has some issue with windows, one has to use 'npm.cmd' as command instead of 'npm' to make it work.
@davidmarkclements please take note of it, the course content is really good and thought that it would be better to fix/avoid/provide alternative to such minor issues.

Comments

  • Hey @yuvrajpatel thanks for pointing this out, validate.js files have been updated in 16 labs to use

    process.platform === 'win32' ? 'npm.cmd' : 'npm'
    

    To determine the correct command for the OS

This discussion has been closed.

Categories

Upcoming Training